v1

latestOpenAPI 3.0.0ISC2026-07-26782347.5 KB
ai

Get a completion from the AI.

post/ai/completions

Request body

model'gpt-35-turbo' | 'gpt-4' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1-mini' | 'gpt-5.1'

The model to use for completion generation

temperaturenumber

The temperature of the generated completions

shouldBeFreeForPhantombusterScriptAgentboolean

Whether the request should deduct AI credits from the user or not

Response

Answer from the AI.

choicesstring[] required
creditsCostinteger required