Reserve an operation
curl --request POST \
--url https://api.turos.app/v1/operations/execute \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"operationId": "filing_model.fact.lookup",
"surface": "mcp",
"idempotencyKey": "idem_example"
}
'import requests
url = "https://api.turos.app/v1/operations/execute"
payload = {
"operationId": "filing_model.fact.lookup",
"surface": "mcp",
"idempotencyKey": "idem_example"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
operationId: 'filing_model.fact.lookup',
surface: 'mcp',
idempotencyKey: 'idem_example'
})
};
fetch('https://api.turos.app/v1/operations/execute', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "operation_execution",
"executionId": "opexec_example",
"status": "quoted",
"settlementMode": "shadow",
"operationContext": {
"operationContextId": "opctx_example",
"operationId": "filing_model.fact.lookup",
"operationSchemaVersion": "2026-08-16.shadow",
"organizationId": "org_example",
"accountId": null,
"userId": "user_example",
"clientId": "excel_addin",
"surface": "excel",
"workbookInstallationId": "wb_install_example",
"sourceKey": "sec_edgar",
"artifactClass": "company_filing_fact",
"evidenceRequirement": "lineage_required",
"priceVersion": "2026-08-16-secapi-auditable-workflows",
"quoteId": "opquote_example",
"billableUnits": [
{
"meterClass": "fact_lookup",
"meterFamily": "standard_reads",
"quantity": 1,
"amountCents": 1
}
],
"reservedMaximumCredits": 1,
"idempotencyKey": "idem_example",
"idempotencyMode": "deterministic_shadow",
"createdAt": "2026-08-16T00:00:00.000Z"
},
"billingQuote": {
"object": "billing_quote",
"planKey": "personal",
"meterClass": "fact_lookup",
"meterFamily": "standard_reads",
"units": 1,
"unitAmountUsd": 0,
"amountUsd": 0,
"amountCents": 0,
"currency": "usd",
"requestId": "req_example_123",
"budget": {},
"budgetGate": null
},
"budgetGate": null,
"requestId": "req_example_123"
}
Operations
Reserve an operation
Validates and reserves a channel-neutral operation against the current quote and budget gate, returning an execution envelope (status: quoted | blocked). The operation itself is not run and no usage is settled by this call.
POST
/
v1
/
operations
/
execute
Reserve an operation
curl --request POST \
--url https://api.turos.app/v1/operations/execute \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"operationId": "filing_model.fact.lookup",
"surface": "mcp",
"idempotencyKey": "idem_example"
}
'import requests
url = "https://api.turos.app/v1/operations/execute"
payload = {
"operationId": "filing_model.fact.lookup",
"surface": "mcp",
"idempotencyKey": "idem_example"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
operationId: 'filing_model.fact.lookup',
surface: 'mcp',
idempotencyKey: 'idem_example'
})
};
fetch('https://api.turos.app/v1/operations/execute', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "operation_execution",
"executionId": "opexec_example",
"status": "quoted",
"settlementMode": "shadow",
"operationContext": {
"operationContextId": "opctx_example",
"operationId": "filing_model.fact.lookup",
"operationSchemaVersion": "2026-08-16.shadow",
"organizationId": "org_example",
"accountId": null,
"userId": "user_example",
"clientId": "excel_addin",
"surface": "excel",
"workbookInstallationId": "wb_install_example",
"sourceKey": "sec_edgar",
"artifactClass": "company_filing_fact",
"evidenceRequirement": "lineage_required",
"priceVersion": "2026-08-16-secapi-auditable-workflows",
"quoteId": "opquote_example",
"billableUnits": [
{
"meterClass": "fact_lookup",
"meterFamily": "standard_reads",
"quantity": 1,
"amountCents": 1
}
],
"reservedMaximumCredits": 1,
"idempotencyKey": "idem_example",
"idempotencyMode": "deterministic_shadow",
"createdAt": "2026-08-16T00:00:00.000Z"
},
"billingQuote": {
"object": "billing_quote",
"planKey": "personal",
"meterClass": "fact_lookup",
"meterFamily": "standard_reads",
"units": 1,
"unitAmountUsd": 0,
"amountUsd": 0,
"amountCents": 0,
"currency": "usd",
"requestId": "req_example_123",
"budget": {},
"budgetGate": null
},
"budgetGate": null,
"requestId": "req_example_123"
}
Body
application/json
Shadow execution returns the operation envelope and budget gate; settlement remains disabled in this slice.
Response
Successful response