{"openapi":"3.1.0","info":{"title":"Parasail (BYOK) API","version":"0.1.0","description":"Parasail (BYOK) lets an AI assistant read your own Parasail data through the Parasail API with a key you supply (Parasail API key). Read-only: 7 tools (list_models, get_current_invoice, list_invoices, get_invoice, list_invoice_breakdowns, get_dedicated_deployment, check_dedicated_model_support). The BYOK key travels with each request, is used for that one call only and is never stored, logged or...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-parasail.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-parasail/docs"},"termsOfService":"https://connectorbay.com/byok-parasail/terms"},"servers":[{"url":"https://byok-parasail.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-parasail/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_models":{"post":{"operationId":"list_models","summary":"List models available on Parasail (serverless models, your dedicated deployments) with owner and creation time; the list","description":"List models available on Parasail (serverless models, your dedicated deployments) with owner and creation time; the list is not paginated. Use for \"Which models can I call on Parasail\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_modelsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_current_invoice":{"post":{"operationId":"get_current_invoice","summary":"Get the active draft invoice for the current billing period, updated in real time, with total and line items. Use for \"H","description":"Get the active draft invoice for the current billing period, updated in real time, with total and line items. Use for \"How much have I spent on Parasail so far this month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_current_invoiceArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_invoices":{"post":{"operationId":"list_invoices","summary":"List invoices filtered by status and billing period; use DRAFT for the current period and FINALIZED for past ones. Use f","description":"List invoices filtered by status and billing period; use DRAFT for the current period and FINALIZED for past ones. Use for \"Show my finalized Parasail invoices for April 2026\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"enum":["DRAFT","FINALIZED","VOID"],"type":"string"},{"type":"null"}],"default":null,"description":"Only invoices with this status: DRAFT (current period), FINALIZED or VOID.","title":"Status"},"starting_on":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only invoices whose billing period starts on or after this RFC 3339 time, for example 2026-04-01T00:00:00Z.","title":"Starting On"},"ending_before":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only invoices whose billing period ends before this RFC 3339 time.","title":"Ending Before"}},"title":"list_invoicesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_invoice":{"post":{"operationId":"get_invoice","summary":"Get one invoice by id with total, billing period and line items. Use for \"Show Parasail invoice 3fa1c306-5258-5ac0-8905-","description":"Get one invoice by id with total, billing period and line items. Use for \"Show Parasail invoice 3fa1c306-5258-5ac0-8905-8b90c6a6396f\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"invoice_id":{"description":"Invoice id from list_invoices.","maxLength":200,"title":"Invoice Id","type":"string"}},"required":["invoice_id"],"title":"get_invoiceArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_invoice_breakdowns":{"post":{"operationId":"list_invoice_breakdowns","summary":"List hourly or daily spend breakdowns with line items for a time range; daily pages hold up to 35 days and hourly pages ","description":"List hourly or daily spend breakdowns with line items for a time range; daily pages hold up to 35 days and hourly pages up to 24 hours. Use for \"What did my Parasail usage cost per day last week\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"starting_on":{"description":"Only windows starting on or after this RFC 3339 time.","maxLength":200,"title":"Starting On","type":"string"},"ending_before":{"description":"Only windows ending on or before this RFC 3339 time.","maxLength":200,"title":"Ending Before","type":"string"},"window_size":{"anyOf":[{"enum":["hour","day"],"type":"string"},{"type":"null"}],"default":"day","description":"hour or day.","title":"Window Size"},"status":{"anyOf":[{"enum":["DRAFT","FINALIZED","VOID"],"type":"string"},{"type":"null"}],"default":null,"description":"Only invoices with this status: DRAFT (current period), FINALIZED or VOID.","title":"Status"},"skip_zero_qty_line_items":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to omit line items with zero quantity.","title":"Skip Zero Qty Line Items"},"limit":{"anyOf":[{"maximum":35,"minimum":1,"type":"integer"},{"type":"null"}],"default":35,"description":"Maximum number of windows returned (daily max 35, hourly max 24).","title":"Limit"},"next_page":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"The next_page cursor from the previous answer, with the same filters.","title":"Next Page"}},"required":["starting_on","ending_before"],"title":"list_invoice_breakdownsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_dedicated_deployment":{"post":{"operationId":"get_dedicated_deployment","summary":"Get the status of one dedicated endpoint deployment: name, model, state (for example STARTING or ONLINE) and its OpenAI-","description":"Get the status of one dedicated endpoint deployment: name, model, state (for example STARTING or ONLINE) and its OpenAI-style alias. Use for \"Is my Parasail dedicated deployment 12345 online\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"deployment_id":{"description":"Numeric deployment id (visible in the dashboard URL for the deployment).","title":"Deployment Id","type":"integer"}},"required":["deployment_id"],"title":"get_dedicated_deploymentArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/check_dedicated_model_support":{"post":{"operationId":"check_dedicated_model_support","summary":"Check whether a Hugging Face model can be deployed on a Parasail dedicated instance. Use for \"Can Parasail host Qwen/Qwe","description":"Check whether a Hugging Face model can be deployed on a Parasail dedicated instance. Use for \"Can Parasail host Qwen/Qwen2.5-72B-Instruct on a dedicated instance\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"model_name":{"description":"Hugging Face model id or URL, for example 'Qwen/Qwen2.5-72B-Instruct'.","maxLength":200,"title":"Model Name","type":"string"},"engine":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":"VLLM","description":"Inference engine, for example VLLM.","title":"Engine"}},"required":["model_name"],"title":"check_dedicated_model_supportArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}