Add documents to a collection
Requires an authenticated tenant principal. Generated from the production route registered in `internal/features/sources/inbound/http.go`.
/v1/sources/{id}/documentsRequires an authenticated tenant principal. Generated from the production route registered in internal/features/sources/inbound/http.go.
Authorization
bearerAuth Engine-issued API key or tenant-signed JWT.
In: header
Path Parameters
uuidHeader Parameters
Required, at most 200 bytes. A replay with the same key, the same files (names, exact bytes, in order) and the same plan returns the version the key claimed, in whatever state it has reached; the same key with a different file set or plan is 409 {"error":{"type":"conflict","code":"idempotency_key_reuse","message":"this key was used for different input"}}. Operations on one source settle one at a time: a new request while another is pending is 409 source_update_in_progress.
length <= 200Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents" \ -H "Idempotency-Key: string" \ -F file="[ \"string\" ]"{}List source documents
Requires an authenticated tenant principal. Generated from the production route registered in `internal/features/sources/inbound/http.go`.
Get a source document
Requires an authenticated tenant principal. Generated from the production route registered in `internal/features/sources/inbound/http.go`.