GET
/
v1
/
transforms
/
{transform_id}
/
autoschema
curl --request GET \
  --url https://api.runtrellis.com/v1/transforms/{transform_id}/autoschema \
  --header 'Authorization: <api-key>'
{
"message": "<string>",
"metadata": {
"total_generated": 123
},
"data": [
{
"column_name": "<string>",
"column_type": "text",
"transform_type": "extraction",
"task_description": "Derive the invoice amount from {{Invoices}}, and add it to the rent from {{Rent Amount}}.",
"output_values": {},
"has_default": true,
"default_value": {},
"api_request": {
"method": "GET",
"url": "<string>",
"headers": {},
"body": {}
},
"run_function_code": "<string>",
"prompt_type": "text",
"options": [
{
"name": "<string>",
"visual_index": 1,
"color": "red",
"linked_entity_id": "<string>"
}
],
"operations": [
{
"column_name": "<string>",
"column_type": "text",
"transform_type": "extraction",
"task_description": "Derive the invoice amount from {{Invoices}}, and add it to the rent from {{Rent Amount}}.",
"output_values": {},
"has_default": true,
"default_value": {},
"api_request": {
"method": "GET",
"url": "<string>",
"headers": {},
"body": {}
},
"run_function_code": "<string>",
"prompt_type": "text",
"options": [
{
"name": "<string>",
"visual_index": 1,
"color": "red",
"linked_entity_id": "<string>"
}
],
"operations": [
{}
]
}
],
"id": "<string>"
}
]
}

Authorizations

Authorization
string
header
required

Headers

API-Version
string

Pass in an API version to guarantee a consistent response format.

The latest version should be used for all new API calls. Existing API calls should be updated to the latest version when possible.

Valid versions:

  • Latest API version (recommended): 2025-03

  • Previous API version (maintenance mode): 2025-02

If no API version header is included, the response format is considered unstable and could change without notice (not recommended).

Path Parameters

transform_id
string
required

The transform_id to get the autoschema for

Response

200
application/json

Successful Response

The response is of type object.