For the complete documentation index, see llms.txt. This page is also available as Markdown.

Manage


Run a job

post

Run a job

Authorizations
AuthorizationstringRequired

Your ByteNite access token

Path parameters
jobIdstringRequired

The id associated with your job.

Body
Responses
200

A successful response.

okbooleanOptional

True if the request was successful.

requestIdstringOptional

Internal request identifier for tracing or support.

Example: xyz-123
messagestringOptional

Additional message providing status or context.

Example: Request failed
post/jobs/{jobId}/run
POST /v1/customer/jobs/{jobId}/run HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 60

{
  "config": {
    "taskTimeout": 1,
    "jobTimeout": 1,
    "isTestJob": true
  }
}
{
  "ok": false,
  "requestId": "xyz-123",
  "message": "Request  failed",
  "error": {
    "code": 404,
    "message": "Not Found",
    "description": "The requested resource was not found"
  }
}


Stop a running job

post

Abort running job (an incomplete job that is yet to start will be deleted)

Authorizations
AuthorizationstringRequired

Your ByteNite access token

Path parameters
jobIdstringRequired

The id associated with your job.

Responses
200

A successful response.

okbooleanOptional

True if the request was successful.

requestIdstringOptional

Internal request identifier for tracing or support.

Example: xyz-123
messagestringOptional

Additional message providing status or context.

Example: Request failed
post/jobs/{jobId}/abort
POST /v1/customer/jobs/{jobId}/abort HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "ok": false,
  "requestId": "xyz-123",
  "message": "Request  failed",
  "error": {
    "code": 404,
    "message": "Not Found",
    "description": "The requested resource was not found"
  }
}


Delete a job

delete

Delete a job

Authorizations
AuthorizationstringRequired

Your ByteNite access token

Path parameters
jobIdstringRequired

The id associated with your job.

Responses
200

A successful response.

okbooleanOptional

True if the request was successful.

requestIdstringOptional

Internal request identifier for tracing or support.

Example: xyz-123
messagestringOptional

Additional message providing status or context.

Example: Request failed
delete/jobs/{jobId}
DELETE /v1/customer/jobs/{jobId} HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "ok": false,
  "requestId": "xyz-123",
  "message": "Request  failed",
  "error": {
    "code": 404,
    "message": "Not Found",
    "description": "The requested resource was not found"
  }
}

Last updated

Was this helpful?