Get / Update / Delete
Get source details, update a source name, or delete a source. Documents are retained but unlinked when a source is deleted.
Manage an individual source with GET, PATCH, and DELETE operations on the same path. Retrieve source details, update its name, or permanently delete it. When a source is deleted, its documents are retained but unlinked from the source.
Use GET to inspect a source's current status, document count, and default schema assignment. Use PATCH to rename a source. Use DELETE when a source is no longer needed — this immediately invalidates the source-scoped API key, so any integration using it will start receiving 401 errors.
The GET response includes document_count, default_schema (with its id if set), and the endpoint URL for document ingestion. The status field shows the current state — active for API sources, or sync status values for connector-based sources (Google Drive, SharePoint, etc.).
Deleting a source retains all its documents in your workspace — they remain accessible via the documents API and any existing extractions are preserved. Only the source-to-document link is removed. Pair GET /v1/sources/:id with GET /v1/sources/:id/documents to see documents belonging to a specific source.
401 errors. Documents are retained but unlinked from the source./v1/sources/:idResponse
Response fields
Response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Invoice Pipeline",
"type": "api",
"status": "active",
"document_count": 234,
"default_schema": { "id": "c3d4e5f6-a7b8-9012-cdef-123456789012" },
"endpoint": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890/documents",
"created_at": "2024-08-01T09:00:00.000Z",
"links": {
"self": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"documents": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890/documents",
"dashboard": "https://app.talonic.com/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}Errors
Error responses
/v1/sources/:idResponse
Response fields
Response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Invoice Pipeline v2",
"type": "api",
"status": "active",
"document_count": 234,
"default_schema": null,
"endpoint": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890/documents",
"created_at": "2024-08-01T09:00:00.000Z",
"links": {
"self": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"documents": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890/documents",
"dashboard": "https://app.talonic.com/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}Errors
Error responses
/v1/sources/:idResponse
Response fields
Response
{
"deleted": true,
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}Errors
Error responses