curl --request POST \
--url 'https://api.hexelstudio.com/v1/titan/tools/tools' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"available_versions": [
"1"
],
"backend_config": {
"url": "https://api.example.com/v1/items/{id}",
"method": "GET",
"headers": {
"key": "string"
},
"query_params": [
"string"
],
"credential": {
"slots": [
{
"field": "access_token",
"format": "bearer",
"in": "header",
"name": "Authorization",
"password": "string",
"prefix": "string",
"username": "string"
}
]
},
"request": {
"body": "json",
"idempotency_header": "Idempotency-Key",
"query": "flat"
},
"response": {
"reject_present": [
"string"
],
"require": {}
},
"response_options": {
"body": "json",
"error_body_bytes": 0,
"max_body_bytes": 0,
"pagination": "link",
"redirects": {
"max_hops": 0
},
"retry_after": true
},
"protocol": "graphql",
"document": "string",
"operation_name": "string",
"rate_limit": {
"bucket": "string",
"limit_per_window": 0,
"scope": "toolkit",
"window_seconds": 0
},
"streaming": true
},
"cacheable_seconds": 0,
"capability_tags": [
"string"
],
"description": "string",
"execution_backend": "http",
"idempotency_required": true,
"input_schema": {},
"is_side_effecting": true,
"lifecycle": "draft",
"max_retries": 3,
"name": "Get item",
"output_schema": {},
"required_scopes": [
"string"
],
"requires_auth": true,
"slug": "GET_ITEM",
"timeout_seconds": 30,
"toolkit_id": "00000000-0000-0000-0000-000000000000",
"toolkit_slug": "ACME",
"version": "1"
}'
const res = await fetch("https://api.hexelstudio.com/v1/titan/tools/tools", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"available_versions": [
"1"
],
"backend_config": {
"url": "https://api.example.com/v1/items/{id}",
"method": "GET",
"headers": {
"key": "string"
},
"query_params": [
"string"
],
"credential": {
"slots": [
{
"field": "access_token",
"format": "bearer",
"in": "header",
"name": "Authorization",
"password": "string",
"prefix": "string",
"username": "string"
}
]
},
"request": {
"body": "json",
"idempotency_header": "Idempotency-Key",
"query": "flat"
},
"response": {
"reject_present": [
"string"
],
"require": {}
},
"response_options": {
"body": "json",
"error_body_bytes": 0,
"max_body_bytes": 0,
"pagination": "link",
"redirects": {
"max_hops": 0
},
"retry_after": true
},
"protocol": "graphql",
"document": "string",
"operation_name": "string",
"rate_limit": {
"bucket": "string",
"limit_per_window": 0,
"scope": "toolkit",
"window_seconds": 0
},
"streaming": true
},
"cacheable_seconds": 0,
"capability_tags": [
"string"
],
"description": "string",
"execution_backend": "http",
"idempotency_required": true,
"input_schema": {},
"is_side_effecting": true,
"lifecycle": "draft",
"max_retries": 3,
"name": "Get item",
"output_schema": {},
"required_scopes": [
"string"
],
"requires_auth": true,
"slug": "GET_ITEM",
"timeout_seconds": 30,
"toolkit_id": "00000000-0000-0000-0000-000000000000",
"toolkit_slug": "ACME",
"version": "1"
}),
})
const data = await res.json()
import os
import requests
res = requests.post(
"https://api.hexelstudio.com/v1/titan/tools/tools",
headers={"Authorization": f"Bearer {os.environ['ACCESS_TOKEN']}"},
json={
"available_versions": [
"1",
],
"backend_config": {
"url": "https://api.example.com/v1/items/{id}",
"method": "GET",
"headers": {
"key": "string",
},
"query_params": [
"string",
],
"credential": {
"slots": [
{
"field": "access_token",
"format": "bearer",
"in": "header",
"name": "Authorization",
"password": "string",
"prefix": "string",
"username": "string",
},
],
},
"request": {
"body": "json",
"idempotency_header": "Idempotency-Key",
"query": "flat",
},
"response": {
"reject_present": [
"string",
],
"require": {},
},
"response_options": {
"body": "json",
"error_body_bytes": 0,
"max_body_bytes": 0,
"pagination": "link",
"redirects": {
"max_hops": 0,
},
"retry_after": True,
},
"protocol": "graphql",
"document": "string",
"operation_name": "string",
"rate_limit": {
"bucket": "string",
"limit_per_window": 0,
"scope": "toolkit",
"window_seconds": 0,
},
"streaming": True,
},
"cacheable_seconds": 0,
"capability_tags": [
"string",
],
"description": "string",
"execution_backend": "http",
"idempotency_required": True,
"input_schema": {},
"is_side_effecting": True,
"lifecycle": "draft",
"max_retries": 3,
"name": "Get item",
"output_schema": {},
"required_scopes": [
"string",
],
"requires_auth": True,
"slug": "GET_ITEM",
"timeout_seconds": 30,
"toolkit_id": "00000000-0000-0000-0000-000000000000",
"toolkit_slug": "ACME",
"version": "1",
},
)
data = res.json()
{
"auth": {
"config_id": "string",
"connected_account_id": "string",
"mode": "string",
"required": true,
"schemes": [
"string"
],
"scopes": [
"string"
]
},
"available_versions": [
"string"
],
"backend_config": {},
"cacheable_seconds": 0,
"capabilities": [
"string"
],
"capability_tags": [
"string"
],
"created_at": "2026-01-01T00:00:00Z",
"deprecated_at": "2026-01-01T00:00:00Z",
"description": "string",
"endpoint": "string",
"execution_backend": "string",
"idempotency": true,
"idempotency_required": true,
"input_schema": {},
"is_side_effecting": true,
"lifecycle": "string",
"max_retries": 0,
"name": "string",
"output_schema": {},
"owner_organization_id": "string",
"policy_tags": [
"string"
],
"published_at": "2026-01-01T00:00:00Z",
"rate_limit": {
"bucket": "string",
"limit_per_window": 0,
"scope": "string",
"window_seconds": 0
},
"required_scopes": [
"string"
],
"requires_auth": true,
"retired_at": "2026-01-01T00:00:00Z",
"slug": "string",
"streaming": true,
"timeout_ms": 0,
"timeout_seconds": 0,
"tool_id": "string",
"toolkit_id": "string",
"toolkit_slug": "string",
"updated_at": "2026-01-01T00:00:00Z",
"version": "string"
}
{
"error": {
"code": "string",
"message": "string"
}
}
{
"error": {
"code": "string",
"message": "string"
}
}
{
"error": {
"code": "string",
"message": "string"
}
}
{
"error": {
"code": "string",
"message": "string"
}
}
{
"error": {
"code": "string",
"message": "string"
}
}