> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get agent readiness

> Checks what the agent can actually do before it goes live: which of its tools are usable and whether its triggers' accounts are connected. Each finding lists the fixes.




## OpenAPI

````yaml /openapi/automations.yaml get /agents/{agentId}/readiness
openapi: 3.1.0
info:
  title: Connie Automations API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for automations. They authenticate with
    your signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Workflows
    description: List, create, read, update and delete workflows.
  - name: Runs
    description: >-
      Start, retry and stop workflow runs, switch a workflow Live, and read run
      counts.
  - name: Triggers
    description: A workflow's triggers and its schedule settings.
  - name: Templates
    description: The template gallery and copying a template into a workspace.
  - name: Agents
    description: Agents on the Agents page.
paths:
  /agents/{agentId}/readiness:
    get:
      tags:
        - Agents
      summary: Get agent readiness
      description: >
        Checks what the agent can actually do before it goes live: which of its
        tools are usable and whether its triggers' accounts are connected. Each
        finding lists the fixes.
      operationId: getAgentReadiness
      parameters:
        - $ref: '#/components/parameters/agentId'
        - $ref: '#/components/parameters/agentWorkspaceId'
      responses:
        '200':
          description: The readiness verdict.
          content:
            application/json:
              schema:
                type: object
                properties:
                  readiness:
                    type: object
                    properties:
                      ready:
                        type: boolean
                      findings:
                        type: array
                        items:
                          type: object
                          properties:
                            code:
                              type: string
                            title:
                              type: string
                            detail:
                              type: string
                            fixes:
                              type: array
                              items:
                                type: string
                      effectiveToolCount:
                        type: integer
                      actionToolCount:
                        type: integer
                      droppedToolCount:
                        type: integer
                      disconnectedToolCount:
                        type: integer
                  grantedToolCount:
                    type: integer
                  triggerCount:
                    type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/AgentNotFound'
components:
  parameters:
    agentId:
      name: agentId
      in: path
      required: true
      description: >-
        The agent's id, as in
        `https://connie.ai/<workspace-id>/agents/<agent-id>`.
      schema:
        type: string
        format: uuid
    agentWorkspaceId:
      name: workspaceId
      in: query
      required: false
      description: >
        The workspace the agent belongs to. Optional; when given, an agent from
        another workspace returns 404.
      schema:
        type: string
        format: uuid
  responses:
    Unauthorized:
      description: >-
        Not signed in (`UNAUTHORIZED`), or the session cookie has expired
        (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    AgentNotFound:
      description: '"Agent not found". Also returned for agents you can''t see.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-readable code, when there is one.
        details:
          description: Extra detail, for example the invalid fields.
      required:
        - error
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.