Message the "Generate PDF from a Chat" Agent (async)

Post a new message to the chat using the "Generate PDF from a Chat" agent. This runs the chat as a background task and returns a task ID.

Query Params

The ID of the Chat to use. If not provided, a new Chat will be created.

array | null

If creating a new chat, add these tags to it. This is ignored if the chat already exists.

Body Params

The payload to be sent to the agent. This should conform to the input JSON schema of the agent.

string
required
length ≥ 1

The user's request for the PDF, passed as-is.

Forward the user's words without adding your own instructions or
elaboration. The agent reads the chat history and decides report
structure on its own.

length ≥ 1

The ID of the source chat to summarize.

When the agent is called standalone (via the chat API), set this to
name which chat's history should be read. When the agent is used as
a sub-agent tool by another agent, leave this unset and the agent
inherits the parent chat's ID automatically.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

204

The message is empty and was ignored.

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json
text/event-stream