Skip to main content

autessa.managers

Create, configure, share, version, and evaluate multi-agent managers. A manager coordinates a configured set of sub-agents.

autessa.managers.conversationREAD

autessa.managers.conversation({ managerId, conversationId, expandAgents })

Fetch one closed manager conversation by conversationId, including its full orchestration log and evaluations.

Requires at least READ access; the conversation must belong to the given manager and your company. Read-only. Set expandAgents true to inline the sub-agent contexts into the invoke-agent-response log entries.

Request fields

  • Name
    managerId
    Type
    string
    Description
  • Name
    conversationId
    Type
    string
    Description
  • Name
    expandAgents
    Type
    boolean
    Description

Response fields

  • Name
    conversation
    Type
    ManagerConversationDto
    Description

autessa.managers.conversationsREAD

autessa.managers.conversations({ managerId, page, includeMySandboxConversations, expandAgents, summary })

List a manager's closed conversations, newest first, one fixed-size page at a time (page is 0-based).

Requires at least READ access. By default only API-key conversations are returned; set includeMySandboxConversations true to also include your own sandbox runs. Continue paging by hasNext/totalPages; conversations with empty logs are dropped from the returned page, so a short page does not mean the end. Set expandAgents true to inline the sub-agent contexts into each conversation's invoke-agent-response logs.

Request fields

  • Name
    managerId
    Type
    string
    Description
  • Name
    page
    Type
    number
    Description
  • Name
    includeMySandboxConversations
    Type
    boolean
    Description
  • Name
    expandAgents
    Type
    boolean
    Description
  • Name
    summary
    Type
    boolean
    Description

Response fields

  • Name
    conversations
    Type
    ManagerConversationDto[]
    Description
  • Name
    totalElements
    Type
    number
    Description
  • Name
    totalPages
    Type
    number
    Description
  • Name
    currentPage
    Type
    number
    Description
  • Name
    pageSize
    Type
    number
    Description
  • Name
    hasNext
    Type
    boolean
    Description
  • Name
    hasPrevious
    Type
    boolean
    Description

autessa.managers.createMUTATE

autessa.managers.create({ managerType, managerName, managerDescription })

Create a new draft manager with a name and description.

Creates a draft manager of the given managerType (only SIMPLE is supported). Both managerName and managerDescription are required. Configure the manager's sub-agent list, instructions, model, and voice via managers.update, then managers.publish to make it live. The draft is created PRIVATE and owned by you; company manager quota is enforced.

Request fields

  • Name
    managerType
    Type
    "SIMPLE"
    Description
  • Name
    managerName
    Type
    string
    Description
  • Name
    managerDescription
    Type
    string
    Description

Response fields

  • Name
    manager
    Type
    AutessaManager
    Description

autessa.managers.deleteMUTATE

autessa.managers.delete({ managerId })

Permanently delete a manager.

Irreversible. Deletes the manager and revokes its API-key permission. Requires ADMIN access (owner-level).

Request fields

  • Name
    managerId
    Type
    string
    Description

Response fields

No fields.

autessa.managers.generateAudioUploadLinkMUTATE

autessa.managers.generateAudioUploadLink()

Generate a presigned S3 PUT URL for uploading a WAV audio file to reference in a manager conversation.

The URL expires shortly and targets temporary storage — upload and use the s3Uri promptly. Takes no arguments.

Request fields

No fields.

Response fields

  • Name
    uploadUrl
    Type
    string
    Description
  • Name
    s3Uri
    Type
    string
    Description
  • Name
    expiresInSeconds
    Type
    number
    Description

autessa.managers.generateFileUploadLinkMUTATE

autessa.managers.generateFileUploadLink({ fileExtension })

Generate a presigned S3 PUT URL for uploading a document to reference in a manager conversation.

Send fileExtension explicitly (e.g. pdf, docx, csv). The URL expires shortly and targets temporary storage.

Request fields

  • Name
    fileExtension
    Type
    string
    Description

Response fields

  • Name
    uploadUrl
    Type
    string
    Description
  • Name
    s3Uri
    Type
    string
    Description
  • Name
    mimeType
    Type
    string
    Description
  • Name
    expiresInSeconds
    Type
    number
    Description

autessa.managers.generateImageUploadLinkMUTATE

autessa.managers.generateImageUploadLink({ fileExtension })

Generate a presigned S3 PUT URL for uploading an image to reference in a manager conversation.

Send fileExtension explicitly (e.g. png, jpg). The URL expires shortly and targets temporary storage.

Request fields

  • Name
    fileExtension
    Type
    string
    Description

Response fields

  • Name
    uploadUrl
    Type
    string
    Description
  • Name
    s3Uri
    Type
    string
    Description
  • Name
    mimeType
    Type
    string
    Description
  • Name
    expiresInSeconds
    Type
    number
    Description

autessa.managers.getREAD

autessa.managers.get({ managerId })

Fetch a single manager by id, including its full configuration, your access level, and available voices.

Requires at least READ access. Returns the manager entity (its sub-agents, instructions, model, voice config), your permission on it, and the voice options available for its model. Sub-agents you cannot access are returned as shallow references.

Request fields

  • Name
    managerId
    Type
    string
    Description

Response fields

  • Name
    manager
    Type
    AutessaManager
    Description
  • Name
    permission
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    voiceOptionsList
    Type
    VoiceOptions[]
    Description

autessa.managers.getAllREAD

autessa.managers.getAll({ summary, pageSize, pageToken })

List every manager you can access in the current company, split by how you got access.

Returns your accessible managers in three buckets: managers you own, managers shared company-wide, and managers shared specifically with you. Not paginated.

Request fields

  • Name
    summary
    Type
    boolean
    Description
  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    ownedManagers
    Type
    AutessaManager[]
    Description
  • Name
    companySharedManagers
    Type
    AutessaManager[]
    Description
  • Name
    sharedWithMeManagers
    Type
    AutessaManager[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description

autessa.managers.getSharingDetailsREAD

autessa.managers.getSharingDetails({ managerId })

Get a manager's sharing configuration: sharing level, company-wide permission, per-user grants, and your own access level.

Read-only view of exactly what managers.share would modify. Requires at least READ access.

Request fields

  • Name
    managerId
    Type
    string
    Description

Response fields

  • Name
    sharingLevel
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    companyPermissionLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    sharedWith
    Type
    UserShareWrapper[]
    Description
  • Name
    userAccessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description

autessa.managers.publishMUTATE

autessa.managers.publish({ managerId })

Publish the manager's current draft configuration as a new live version.

Snapshots the draft into a new published version and returns its version number. Requires PUBLISH or ADMIN access.

Request fields

  • Name
    managerId
    Type
    string
    Description

Response fields

  • Name
    publishedManagerVersion
    Type
    number
    Description

autessa.managers.rollbackMUTATE

autessa.managers.rollback({ managerId, versionToRollback })

Re-publish a previously archived manager version.

versionToRollback (required) must be an archived version number from managers.versions. Requires PUBLISH or ADMIN access. Returns the version now live after the rollback.

Request fields

  • Name
    managerId
    Type
    string
    Description
  • Name
    versionToRollback
    Type
    number
    Description

Response fields

  • Name
    newPublishedVersion
    Type
    number
    Description

autessa.managers.shareMUTATE

autessa.managers.share({ managerId, level, accessLevel, usersToAdd, usersToRemove })

Set a manager's sharing mode: PRIVATE, COMPANY-wide at one access level, or SPECIFIC_MEMBER with per-user grants via usersToAdd/usersToRemove.

Requires ADMIN access. Setting level PRIVATE or COMPANY wipes all existing per-user grants (PRIVATE additionally requires you be the owner). COMPANY requires accessLevel. A SPECIFIC_MEMBER call that changes nothing returns an error, not success; you cannot grant or revoke your own access, and grantees must be company members.

Request fields

  • Name
    managerId
    Type
    string
    Description
  • Name
    level
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    accessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    usersToAdd
    Type
    UserShareWrapper[]
    Description
  • Name
    usersToRemove
    Type
    UserShareWrapper[]
    Description

Response fields

  • Name
    accessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    level
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    usersWithAccess
    Type
    UserShareWrapper[]
    Description

autessa.managers.statisticsREAD

autessa.managers.statistics({ managerId, startDate, endDate })

Compute aggregate evaluation statistics for a manager's conversations closed within a date range.

managerId and startDate are required (endDate defaults to now; startDate must not be after endDate). Synchronous and heavy — it decrypts and parses every API-created conversation in the range in pages, so keep date windows narrow. Only verifies the manager exists (no per-user access check).

Request fields

  • Name
    managerId
    Type
    string
    Description
  • Name
    startDate
    Type
    string
    Description
  • Name
    endDate
    Type
    string
    Description

Response fields

  • Name
    statistics
    Type
    ManagerStatistics
    Description

autessa.managers.submitEvaluationMUTATE

autessa.managers.submitEvaluation({ managerId, conversationId, humanEvaluation })

Attach or replace a human evaluation (status plus notes) on a stored manager conversation, looked up by conversationId.

humanEvaluation.status is one of SUCCESSFUL, SUCCESSFUL_NOT_EFFICIENT, SUCCESSFUL_NOT_ALL_STEPS, UNSUCCESSFUL. Overwrites any existing human evaluation without confirmation. The conversation is looked up purely by conversationId — the managerId request field is ignored, and no access check is performed beyond the conversation existing.

Request fields

  • Name
    managerId
    Type
    string
    Description
  • Name
    conversationId
    Type
    string
    Description
  • Name
    humanEvaluation
    Type
    HumanEvaluation
    Description

Response fields

No fields.

autessa.managers.updateMUTATE

autessa.managers.update({ managerId, updatedManager })

Update a manager by submitting its modified configuration in updatedManager (read with managers.get, modify, submit).

The submitted updatedManager replaces the stored draft configuration wholesale — always start from the entity returned by managers.get so unmentioned fields survive. Requires WRITE or better. Changing the sub-agent list rebuilds the manager's agent set; every referenced agent must exist in the same company or the update is a no-op.

Request fields

  • Name
    managerId
    Type
    string
    Description
  • Name
    updatedManager
    Type
    AutessaManager
    Description

Response fields

  • Name
    updatedManager
    Type
    AutessaManager
    Description

autessa.managers.versionsREAD

autessa.managers.versions({ managerId, pageSize, pageToken })

List a manager's version numbers: the currently published version and all archived versions.

Use archivedVersions with managers.rollback to re-publish an older version. This read performs no access-control check beyond the manager existing.

Request fields

  • Name
    managerId
    Type
    string
    Description
  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    currentPublishedVersion
    Type
    number
    Description
  • Name
    archivedVersions
    Type
    number[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description