Harness Support

Internal operations for agent harnesses managed by Oz

Create external conversation

post

Create a new external conversation record for a harness. Returns a conversation ID for bookkeeping.

This may only be called from within a cloud agent execution environment.

Authorizations
AuthorizationstringRequired

Authentication via a Warp API key.

Body

Request body for creating a new external conversation for a third-party harness.

formatstringRequired

The conversation format identifying the harness type.

Responses
chevron-right
200

External conversation created successfully

application/json
conversation_idstringRequired

The unique identifier of the newly created conversation.

post
/harness-support/external-conversation

Resolve effective prompt

post

Resolve the effective prompt for the current task, including optional skill content and attachment references. This may only be called from within a cloud agent execution environment.

Authorizations
AuthorizationstringRequired

Authentication via a Warp API key.

Body

Request body for resolving the effective prompt for a task.

attachments_dirstringOptional

Directory where attachments were downloaded locally

Responses
chevron-right
200

Resolved prompt

application/json
promptstringRequired

The resolved prompt

post
/harness-support/resolve-prompt

Prepare upload of a block snapshot

post

Allocates and returns a storage slot for uploading an output snapshot. The caller should make an HTTP request to the target with the serialized snapshot as the request body.

This may only be called from within a cloud agent execution environment.

Authorizations
AuthorizationstringRequired

Authentication via a Warp API key.

Body

Request body for obtaining a conversation-scoped upload target.

conversation_idstringRequired

The conversation ID to associate the uploaded data with.

Responses
chevron-right
200

Presigned upload target for the block snapshot

application/json

A description of where and how to upload a blob. Use the method and url to upload, including all headers in the request. Pass the blob to upload as the request body.

urlstring · uriRequired

The presigned URL to upload the blob to.

methodstring · enumRequired

The HTTP method to use for the upload.

Possible values:
post
/harness-support/block-snapshot

Last updated

Was this helpful?