Discard a source
DELETE
/api/v1/sources/{id}Soft delete. The source and its extracted passages are marked discarded and stop being used as references for new answers.
Authorizations
Section titled “Authorizations”Path Parameters
Section titled “Path Parameters”NameType
id
required
string
The record’s prefixed ID
Responses
Section titled “Responses”200
A confirmation message
A confirmation message
Response body
Media typeapplication/json
object
message
string
403
Insufficient scope, role, or credits
Insufficient scope, role, or credits
Response body
Media typeapplication/json
object
error
object
code
string
A stable machine-readable code
message
string
details
Array<string>
Present on validation errors; one entry per failed validation
404
No such record in this account
No such record in this account
Response body
Media typeapplication/json
object
error
object
code
string
A stable machine-readable code
message
string
details
Array<string>
Present on validation errors; one entry per failed validation