Takeoffs
Start a takeoff on a document
Places a credit hold for the maximum plausible cost (estimated_credits) and queues the job. The final charge never exceeds the hold. 402 insufficient_credits if the hold cannot be placed.
post/takeoffs
Request
- Base URL: https://api.aginera.ai/partner/v1
- URL: https://api.aginera.ai/partner/v1/takeoffs
- Auth: OAuth 2 (authorization code, authorization URL https://auth.aginera.ai/oauth/authorize, token URL https://auth.aginera.ai/oauth/token; client credentials, token URL https://login.microsoftonline.com/65f567a9-6e6a-4f81-863c-aea4ece1f8eb/oauth2/v2.0/token, scopes: takeoffs:run)
Headers
Idempotency-Keystring
Replays within 24 hours return the original response.
Request body
Example request
{
"document_id": "doc_4kR9sT2vWx7yZa1bCd3eFg"
}Response
OK
Example response
{
"id": "tko_4kR9sT2vWx7yZa1bCd3eFg",
"document_id": "doc_4kR9sT2vWx7yZa1bCd3eFg",
"project_id": "prj_4kR9sT2vWx7yZa1bCd3eFg"
}Changes
No recorded changes to this operation across all 1 revision of this API.