POST
/
api
/
v1
/
agentic
/
generate
/
{model_id}
/
{workflow_id}
curl --request POST \
  --url https://api.collinear.ai/api/v1/agentic/generate/{model_id}/{workflow_id} \
  --header 'Authorization: Bearer <token>'
{
  "original": {},
  "generated": {}
}

Parameters

  • model_id: UUID of the model to be used for generation. This defines the template/model logic applied to your input.

  • workflow_id: The uuid of uploaded workflow logs .

Headers

  • Authorization: Bearer token for authenticating the API call.

Request Example

curl --location 'https://api.collinear.ai/api/v1/generate/32d7-485a-bea6-wyqgdqw67-gw/d9f82ea2-3cb4-4fd9-a8bb-1d9b293fab67' \
--header 'Authorization: Bearer <your_token>' \

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
string
required
workflow_id
string
required

Response

200
application/json

Successful Response

The response is of type object.