Skip to main content
POST
Add Context History Item

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

context_id
string<uuid>
required

Body

application/json

Represents a file, data structure, or other resource generated by an agent during a task.

artifactId
string
required
parts
(TextPart · object | FilePart · object | DataPart · object)[]
required

Represents a text segment within a message or artifact.

description
string | null
extensions
string[] | null
metadata
Metadata · object | null
name
string | null

Response

Successful Response