optimization-jobs

Get a specific optimization job.

get/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

job_idstring uuid required

Response

Successful Response

idstring uuid required
repo_idstring uuid required
status'created' | 'running' | 'successful' | 'failed' required
tenant_idstring uuid required
algorithm'promptim' | 'demo' required
created_atstring date-time required
updated_atstring date-time required

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status