Structs§
- Artifact
- A resource generated by an agent during a task.
- Authentication
Info - Authentication details for a push notification endpoint.
- Cancel
Task Request - Request to cancel a task.
- Create
Task Push Notification Config Request - Request to create a push config for a task.
- Delete
Task Push Notification Config Request - Request to delete a push config.
- GetExtended
Agent Card Request - Request to get an extended (authenticated) agent card.
- GetTask
Push Notification Config Request - Request to get a specific push config.
- GetTask
Request - Request to get a task by ID.
- List
Task Push Notification Configs Request - Request to list push configs for a task.
- List
Task Push Notification Configs Response - Response for listing push configs.
- List
Tasks Request - Request to list tasks.
- List
Tasks Response - Response for listing tasks.
- Message
- A single message in a conversation between user and agent.
- Part
- A content part of a message or artifact. Uses field-presence serialization (like C# SDK) so only the relevant content field is present in JSON.
- Push
Notification Config - Push notification configuration.
- Send
Message Configuration - Configuration for
SendMessage/SendStreamingMessage. - Send
Message Request - Request to send a message to an agent.
- Subscribe
ToTask Request - Request to subscribe to task updates.
- Task
- A single stateful operation or conversation between client and agent.
- Task
Push Notification Config - Container associating push config with a task.
- Task
Status - The status of a task at a specific point in time.
Enums§
- Part
Content - The content of a part — a discriminated union.
- Role
- Identifies the sender of a message.
- Send
Message Response - Response from
SendMessage— either a Task or a Message. - Task
State - The lifecycle state of a task.
Constants§
- TRANSPORT_
PROTOCOL_ GRPC - gRPC transport protocol constant.
- TRANSPORT_
PROTOCOL_ HTTP_ JSON - HTTP+JSON (REST) transport protocol constant.
- TRANSPORT_
PROTOCOL_ JSONRPC - JSON-RPC transport protocol constant.
- TRANSPORT_
PROTOCOL_ SLIMRPC - SLIMRPC transport protocol constant.
Functions§
- new_
artifact_ id - Generate a new random artifact ID (UUIDv7).
- new_
context_ id - Generate a new random context ID (UUIDv7).
- new_
message_ id - Generate a new random message ID (UUIDv7).
- new_
task_ id - Generate a new random task ID (UUIDv7).
Type Aliases§
- Artifact
Id - Unique identifier for an artifact within a task.
- Protocol
Version - Protocol version string (e.g., “1.0”).
- TaskId
- Unique identifier for a task, generated by the server.
- Transport
Protocol - Transport protocol identifier. Open-form string to allow custom protocols.