Import
List this project's recent import runs
GET
/
project
/
{projectId}
/
import
/
runs
List this project's recent import runs
curl --request GET \
--url https://backend.branch.flowengineering.com/project/{projectId}/import/runs \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>'import requests
url = "https://backend.branch.flowengineering.com/project/{projectId}/import/runs"
headers = {
"customer": "<customer>",
"X-API-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {customer: '<customer>', 'X-API-Key': '<api-key>'}};
fetch('https://backend.branch.flowengineering.com/project/{projectId}/import/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"runs": [
{
"chunksDone": 123,
"chunksFailed": 123,
"chunksRunning": 123,
"chunksTotal": 123,
"completedAt": "<string>",
"createdAt": "<string>",
"entityCount": 123,
"error": "<string>",
"fileIds": [
"<string>"
],
"files": [
{
"chunksDone": 123,
"chunksFailed": 123,
"chunksTotal": 123,
"fileId": "<string>",
"filename": "<string>",
"kind": "pdf_page"
}
],
"inputTokens": 123,
"noteCount": 123,
"outputTokens": 123,
"relationshipCount": 123,
"runId": "<string>",
"status": "queued"
}
]
}⌘I
List this project's recent import runs
curl --request GET \
--url https://backend.branch.flowengineering.com/project/{projectId}/import/runs \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>'import requests
url = "https://backend.branch.flowengineering.com/project/{projectId}/import/runs"
headers = {
"customer": "<customer>",
"X-API-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {customer: '<customer>', 'X-API-Key': '<api-key>'}};
fetch('https://backend.branch.flowengineering.com/project/{projectId}/import/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"runs": [
{
"chunksDone": 123,
"chunksFailed": 123,
"chunksRunning": 123,
"chunksTotal": 123,
"completedAt": "<string>",
"createdAt": "<string>",
"entityCount": 123,
"error": "<string>",
"fileIds": [
"<string>"
],
"files": [
{
"chunksDone": 123,
"chunksFailed": 123,
"chunksTotal": 123,
"fileId": "<string>",
"filename": "<string>",
"kind": "pdf_page"
}
],
"inputTokens": 123,
"noteCount": 123,
"outputTokens": 123,
"relationshipCount": 123,
"runId": "<string>",
"status": "queued"
}
]
}