Editor Agent

Run a bounded editing assistant turn

post/editor-agent/assistant

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/editor-agent/assistant
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Request body

$schemastring uri

A URL to the JSON Schema for this object.

contextstring
project_idstring required
promptstring required
session_idstring required
style_idstring
style_versioninteger
workspace_idstring required

Example request

{
  "$schema": "https://example.com/api/v1/schemas/EditorAssistantInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

input_tokensinteger required
modelstring required
output_tokensinteger required
pending_request_idstring
replystring required

Example response

{
  "$schema": "https://example.com/api/v1/schemas/EditorAssistantOutputBody.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.