aitasks

Create an AI task

Changed on
post/accounts/{accountIdentifier}/orgs/{orgIdentifier}/projects/{projectIdentifier}/aitasks

Request

  • Base URL: gateway/cde/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: gateway/cde/api/v1/accounts/{accountIdentifier}/orgs/{orgIdentifier}/projects/{projectIdentifier}/aitasks
  • Auth: HTTP bearer and API key in header x-api-key

Path parameters

accountIdentifierstring required

account identifier.

orgIdentifierstring required

org identifier.

projectIdentifierstring required

project identifier.

Request body

ai_agent'claude-code'
gitspace_config_idstring
identifierstring
initial_promptstring
namestring
space_refstring

Response

OK

ai_agent'claude-code'
api_urlstring nullable
createdinteger
display_namestring
error_messagestring nullable
idinteger
identifierstring
initial_promptstring
outputstring nullable
space_idinteger
state'completed' | 'error' | 'running' | 'uninitialized'
updatedinteger
user_uidstring

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added