Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Operator chat

Operator chat is the conversation surface for working with Manager: a general chat per user, and one chat bound to each action item. These operations manage sessions and read what happened in them. Messages are exchanged over the chat WebSocket in the Nullify app, not through this API, so there is no operation here that posts a message.

Every operation takes the tenant's provider scope as query parameters, such as githubOwnerId, and requires a signed-in user identity. A token with no user behind it receives 400 ("user ID is required"). Sessions belong to the user who created them: listing returns only the caller's sessions, and changing or deleting a session requires being its owner. When role-based access control is enforced for the tenant, callers with team-limited roles receive 403, as for action items.

Starting a chat

Get or create the general chat

Returns the caller's single Operator General chat, creating it on the first call. It is idempotent, so you can call it every time you need the id. The response has only chatId; the server mints the id.

Get or create Operator General chat

put

Returns the authenticated user's single owner-scoped Operator General chat, creating it when absent.

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
chatIdstringOptional
put/manager/chat/general
PUT /manager/chat/general HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "chatId": "text"
}

For a chat tied to an action item, use Get or create an action item chat.

Sessions

List chat sessions

Returns the caller's chat sessions. Page with limit (default 50) and the nextToken returned by the previous page; see Pagination.

List Chat Sessions

get

Returns a paginated list of chat sessions for the authenticated user.

Query parameters
limitintegerOptional
nextTokenstringOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
nextTokenstringOptional
get/manager/chat/sessions
GET /manager/chat/sessions HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "nextToken": "text",
  "sessions": [
    {
      "createdAt": "text",
      "id": "text",
      "platformId": "text",
      "tenantId": "text",
      "title": "text",
      "updatedAt": "text",
      "userId": "text"
    }
  ]
}

Get a chat session

Returns one session by chatID. Reads are scoped to the tenant. An unknown id, or one from another tenant, returns 404.

Get Chat Session

get

Returns a single chat session by ID.

Path parameters
chatIDstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/manager/chat/sessions/{chatID}
GET /manager/chat/sessions/{chatID} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "session": {
    "createdAt": "text",
    "id": "text",
    "platformId": "text",
    "tenantId": "text",
    "title": "text",
    "updatedAt": "text",
    "userId": "text"
  }
}

Rename a chat session

Updates the session's title, which is required and cannot be empty. Only the session's owner can do this; for anyone else the session is reported as not found (404).

Patch Chat Session

patch

Update the title of a chat session.

Path parameters
chatIDstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
titlestringOptional
Responses
200

OK

application/json
successbooleanOptional
patch/manager/chat/sessions/{chatID}
PATCH /manager/chat/sessions/{chatID} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "title": "text"
}
{
  "success": true
}

Delete a chat session

Deletes the session and its chat history. This is permanent and only the owner can do it (404 for anyone else). A session that an open action item is using returns 412; resolve or dismiss the action item first.

Delete Chat Session

delete

Delete a chat session and its associated chat history.

Path parameters
chatIDstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
successbooleanOptional
delete/manager/chat/sessions/{chatID}
DELETE /manager/chat/sessions/{chatID} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "success": true
}

Reading a session

Get chat history

Returns the session's messages with page (from 1) and pageSize (default 100) and a hasMore flag.

Get Chat Session History

get

Returns the paginated message history for a chat session.

Path parameters
chatIDstringRequired
Query parameters
pageintegerOptional
pageSizeintegerOptional
includeReplaybooleanOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
hasMorebooleanOptional
replayTruncatedbooleanOptional
get/manager/chat/sessions/{chatID}/history
GET /manager/chat/sessions/{chatID}/history HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "hasMore": true,
  "messages": [
    {
      "body": "text",
      "commentProvider": {
        "asana": {
          "storyGid": "text"
        },
        "azure": {
          "commentId": 1,
          "pullRequestId": 1,
          "repositoryId": "text",
          "threadId": 1
        },
        "bitbucket": {
          "commentId": 1
        },
        "github": {
          "commentId": 1,
          "commentNodeId": "text"
        },
        "gitlab": {
          "commentId": 1,
          "threadId": "text"
        },
        "id": "DX",
        "jira": {
          "commentId": "text"
        },
        "linear": {
          "commentId": "text"
        },
        "slack": {
          "channelId": "text",
          "eventTs": "text"
        },
        "teams": {
          "channelId": "text",
          "chatId": "text",
          "messageId": "text"
        }
      },
      "createdAt": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "isBot": true,
      "isNullify": true,
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "userId": "text",
      "userName": "text"
    }
  ],
  "replayFrames": [
    {
      "messageId": "text",
      "payload": "text"
    }
  ],
  "replayTruncated": true
}

Get chat actions

Returns the actions the chat proposed to take on your behalf and their current state: toolName, description, params, severity, status, result, whether it is still executable, and who resolved it. Read status and result to find out whether a requested action happened. A message in the conversation saying that it did is not proof.

Get Chat Session Actions

get

Returns the pending actions for a chat session.

Path parameters
chatIDstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/manager/chat/sessions/{chatID}/actions
GET /manager/chat/sessions/{chatID}/actions HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "actions": [
    {
      "actionId": "text",
      "description": "text",
      "displayName": "text",
      "executable": true,
      "params": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "resolvedByUserId": "text",
      "result": "text",
      "severity": "text",
      "status": "text",
      "toolName": "text"
    }
  ]
}

Get the chat audit trail

Returns the audit records of tool calls made in the session, with limit (default 100) and nextToken for the next page.

Get chat session audit trail

get

Returns the audit trail of actions taken in a chat session.

Path parameters
chatIDstringRequired
Query parameters
limitintegerOptional
nextTokenstringOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
nextTokenstringOptional
recordsobject · AuditToolCallAuditRecord[] · nullableOptional
get/manager/chat/sessions/{chatID}/audit
GET /manager/chat/sessions/{chatID}/audit HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "nextToken": "text",
  "records": [
    {}
  ]
}

Last updated