Get Space Ingestion
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces/ingestions/{ingestion_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces/ingestions/{ingestion_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/spaces/ingestions/{ingestion_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"space": "<string>",
"address": "<string>",
"source_name": "<string>",
"status": "<string>",
"review": "<string>",
"created_by": {
"actor_type": "<string>",
"actor_label": "",
"user": "<string>"
},
"counts": {
"created": 123,
"updated": 123,
"unchanged": 123,
"awaiting_decision": 123,
"skipped": 123,
"failed": 123
},
"object": "space_ingestion",
"instructions": "<string>",
"created_at": "<string>",
"completed_at": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"internal": true
},
"message": "<string>",
"source_content": "<string>",
"source_file_name": "<string>",
"unfiled_excerpts": [
"<string>"
],
"operations": [
{
"id": "<string>",
"position": 123,
"kind": "<string>",
"status": "<string>",
"summary": "<string>",
"source_excerpt": "<string>",
"passage": "<string>",
"options": [
"<string>"
],
"page": {
"id": "<string>",
"address": "<string>",
"title": "<string>"
},
"parent": "<string>",
"parent_operation_id": "<string>",
"title": "<string>",
"existing_excerpt": "<string>",
"unavailable_options": {},
"decision": {
"choice": "<string>",
"decided_by": {
"actor_type": "<string>",
"actor_label": "",
"user": "<string>"
},
"decided_at": "<string>"
},
"result": {
"version_number": 123,
"content_hash": "<string>"
},
"error": {},
"current_content": "<string>",
"proposed_content": "<string>",
"option_contents": {}
}
],
"decision_errors": [
{}
]
}Spaces
Get Space Ingestion
Read an ingestion with its operations and, for each, the page now and as each choice would leave it.
GET
/
api
/
v1
/
spaces
/
ingestions
/
{ingestion_id}
Get Space Ingestion
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces/ingestions/{ingestion_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces/ingestions/{ingestion_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/spaces/ingestions/{ingestion_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"space": "<string>",
"address": "<string>",
"source_name": "<string>",
"status": "<string>",
"review": "<string>",
"created_by": {
"actor_type": "<string>",
"actor_label": "",
"user": "<string>"
},
"counts": {
"created": 123,
"updated": 123,
"unchanged": 123,
"awaiting_decision": 123,
"skipped": 123,
"failed": 123
},
"object": "space_ingestion",
"instructions": "<string>",
"created_at": "<string>",
"completed_at": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"internal": true
},
"message": "<string>",
"source_content": "<string>",
"source_file_name": "<string>",
"unfiled_excerpts": [
"<string>"
],
"operations": [
{
"id": "<string>",
"position": 123,
"kind": "<string>",
"status": "<string>",
"summary": "<string>",
"source_excerpt": "<string>",
"passage": "<string>",
"options": [
"<string>"
],
"page": {
"id": "<string>",
"address": "<string>",
"title": "<string>"
},
"parent": "<string>",
"parent_operation_id": "<string>",
"title": "<string>",
"existing_excerpt": "<string>",
"unavailable_options": {},
"decision": {
"choice": "<string>",
"decided_by": {
"actor_type": "<string>",
"actor_label": "",
"user": "<string>"
},
"decided_at": "<string>"
},
"result": {
"version_number": 123,
"content_hash": "<string>"
},
"error": {},
"current_content": "<string>",
"proposed_content": "<string>",
"option_contents": {}
}
],
"decision_errors": [
{}
]
}Response
200 - application/json
OK
