agent
post/v1/api/ai/sessions

Request

  • Base URL: https://localhost
  • URL: https://localhost/v1/api/ai/sessions
  • Auth: none declared

Request body

cluster_idstring

ID of the cluster to use for this session

connection_idstring

ID of the cloud connection to use for this session

doneboolean

Whether to immediately mark this session as done

plan_confirmedboolean

Whether the provisioning plan is pre-confirmed

promptstring required

The prompt describing the task for the agent to perform

type'terraform' | 'kubernetes'

Type of agent session (terraform, kubernetes)

Response

no description

agent_idstring

Internal agent identifier

branchstring

The git branch this session's pull request is operating on

cluster_idstring

ID of the cluster associated with this session

commit_countinteger

Number of commits made by this agent session

connection_idstring

ID of the cloud connection used by this session

doneboolean

Whether the agent has declared the work for this session complete

idstring

Unique identifier for the agent session

initializedboolean

Whether the agent session has been initialized

inserted_atstring date-time
plan_confirmedboolean

Whether the provisioning plan has been confirmed by the user

promptstring

The prompt given to the agent

pull_request_idstring

ID of the pull request created by this session

service_idstring

ID of the service associated with this session

stack_idstring

ID of the infrastructure stack associated with this session

thread_idstring

ID of the chat thread associated with this session

type'terraform' | 'kubernetes' | 'provisioning' | 'search' | 'manifests' | 'chat' | 'research' | 'configure'

Type of agent session (terraform, kubernetes, provisioning, search, manifests, chat, research)

updated_atstring date-time

Changes