Source Files
Source files are files that contain things you want to annotate or run models on. Currently we support PDF and .txt file formats
Retrieve source information
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
// Example Response
{
"id": 2,
"projectName": "My Project",
"projectId": 1,
"directoryName": "Uploads",
"directoryId": 1,
"name": "REGISTRATION.pdf",
"sourceName": "REGISTRATION.pdf",
"type": "pdf",
"text": "Example PDF Text",
"url": "https://download-example-url.pdf",
"createdAt": "2023-05-22T20:32:02.633Z",
"tags": [
{
"domainEntityId": 1,
"typeName": "Airframe Inventory",
"attributes": [
{
"name": "Make",
"value": "CESSNA"
},
{
"name": "Model",
"value": "421C"
},
{
"name": "Serial Number",
"value": "421C-5837"
}
],
"createdBy": {
"id": 58473,
"email": "[email protected]",
"username": "testuser"
}
}
]
}Upload a PDF
Headers
Name
Type
Description
Request Body
Name
Type
Description
Create Source Text
Headers
Name
Type
Description
Request Body
Name
Type
Description
Last updated
Was this helpful?