GET
/
templates
curl --request GET \
  --url https://sdk.senso.ai/api/v1/templates \
  --header 'X-API-Key: <api-key>'
[
  {
    "template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "text": "<string>",
    "output_type": "json",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

X-API-Key
string
header
required

API key authorization

Query Parameters

limit
integer
default:10

Maximum number of templates to return (default is 10, max 100)

Required range: 1 <= x <= 100
offset
integer
default:0

Number of templates to skip for pagination

Required range: x >= 0

Response

200
application/json

List of templates successfully retrieved

The response is of type object[].