repos

Optimize Prompt Job

Changed on

Optimize prompt

post/api/v1/repos/optimize-job

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/repos/optimize-job
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Request body

algorithm'promptim' | 'demo' required
prompt_namestring required

Response

Successful Response

optimization_job_idstring uuid 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