Get a background execution's result

Poll a job started by execute_python — explicitly with background:true, or auto-promoted when a call outlived the synchronous wait. Waits up to ~45s for it to finish, then returns its output, or says it is still running; results are kept for one hour.

post/v1/tools/get_result

Request

  • Base URL: https://api.ploti.ai
  • URL: https://api.ploti.ai/v1/tools/get_result
  • Auth: HTTP bearer

Request body

sessionIdstring required

The id start_session returned. Lost it? get_session without an id lists this workspace's open sessions.

jobIdstring required

The job id execute_python returned when it ran in the background or was promoted to it.

Response

What the tool returned: its text, any images, and structured data.

textstring required
dataunknown

Changes

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