sdk-v3

Sdk V3 Step

Advance the agent by exactly one turn.

One /step = one public turn = one billed unit. The route may make bounded internal model calls to load skills or answer through the docs sub agent; those calls never become public or separately billed turns. The SDK loops over public turns, executing query calls against the local DB and resending the sampled result until the agent emits terminal text (or pauses on ask). Enforces the single monthly SDK budget before billing — the same limit v2 requests draw from, counted across all SDK usage this month.

post/v3/sdk/step

Request

  • Base URL: https://api.pandas-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pandas-ai.com/v3/sdk/step
  • Auth: none declared

Request body

conversationobject[]

Full transcript so far (the dump() blob's messages)

conversation_idstring uuid nullable

Optional best-effort conversation telemetry identifier

userstring nullable

Optional opaque end-user identifier (the SDK caller's own user), used to segment and filter conversation logs

agentstring nullable

Optional named agent persona id (e.g. 'data_expert')

dialectstring
languagestring nullable
tagsstring[] nullable
versionstring nullable
behaviorunknown
constraintsobject nullable
toolsstring[] nullable
enable_disambiguationboolean

Allow structured questions on ask turns

debugboolean

Return harness introspection for this step in StepResponse.debug

verify_answersboolean

Hold back an answer stating a figure the queried results do not hold, and ask the model to restate it (bills one extra credit when it happens)

as_of_datestring date nullable

Freeze the agent's notion of today (YYYY-MM-DD); default: today

Response

Successful Response

conversationobject[] required
status'running' | 'awaiting_answer' | 'idle' | 'budget_exhausted' required
skills_loadedobject[]
skills_activeobject[]
compactionobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.