DELETE
/
v1
/
namespace
/
{namespaceId}
/
ingest-jobs
/
{jobId}
curl --request DELETE \
  --url https://api.agentset.ai/v1/namespace/{namespaceId}/ingest-jobs/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "namespaceId": "<string>",
    "tenantId": null,
    "status": "BACKLOG",
    "error": null,
    "payload": {
      "type": "TEXT",
      "text": "<string>",
      "name": null
    },
    "config": null,
    "createdAt": "<string>",
    "queuedAt": null,
    "preProcessingAt": null,
    "processingAt": null,
    "completedAt": null,
    "failedAt": null
  }
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Headers

x-tenant-id
string

The tenant id to use for the request. If not provided, the default tenant will be used.

Path Parameters

namespaceId
string
required

The id of the namespace to delete.

jobId
string
required

The id of the ingest job to delete.

Response

204
application/json
The deleted ingest job
success
boolean
required
data
object
required