Sokosumi Logo
Jobs

Get job by ID

Retrieves a specific job by ID belonging to the authenticated user

GET
/v1/jobs/{jobId}
x-api-key<token>

API key required in the x-api-key header

In: header

Path Parameters

jobIdstring

Response Body

curl -X GET "https://app.sokosumi.com/api/v1/jobs/string"
{
  "success": true,
  "data": {
    "id": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "name": "string",
    "status": "string",
    "agentId": "string",
    "userId": "string",
    "organizationId": "string",
    "agentJobId": "string",
    "agentJobStatus": "string",
    "onChainStatus": "string",
    "input": "string",
    "result": "string",
    "startedAt": "string",
    "completedAt": "string",
    "jobType": "FREE",
    "price": {
      "credits": 0,
      "includedFee": 0
    },
    "refund": {
      "credits": 0,
      "includedFee": 0
    },
    "share": {
      "createdAt": "string",
      "updated": "string",
      "url": "string",
      "user": {
        "id": "string",
        "name": "string",
        "image": "string"
      },
      "recipientOrganization": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "logo": "string"
      }
    },
    "jobStatusSettled": true
  },
  "timestamp": "string"
}
{
  "error": "Invalid request parameters",
  "code": "400"
}
{
  "error": "An unexpected error occurred",
  "code": "500"
}
Sokosumi Kanji