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

# Get a confirmation

> Returns the confirmation for a session token belonging to the same root session, or a team API key belonging to the same team. Completed and failed confirmations include the original operation status and body.



## OpenAPI

````yaml /openapi/v1.json get /teams/{teamSlug}/confirmations/{confirmationId}
openapi: 3.1.0
info:
  title: Felan API
  description: >-
    Team-scoped access to Felan sessions, members, invitations, integrations,
    environments, environment variables, automations, skills, custom subagents,
    and inbound events.
  version: 1.0.0
  contact:
    name: Felan Support
    url: https://felan.ai
servers:
  - url: https://app.felan.ai/api/v1
    description: Production
security:
  - bearerAuth: []
  - sessionBearerAuth: []
tags:
  - name: Hosts
  - name: Teams
  - name: Integrations
  - name: Environments
  - name: Environment Variables
  - name: Automations
  - name: Skills
  - name: Subagents
  - name: Sessions
  - name: Events
  - name: OpenAPI
paths:
  /teams/{teamSlug}/confirmations/{confirmationId}:
    get:
      tags:
        - Teams
      summary: Get a confirmation
      description: >-
        Returns the confirmation for a session token belonging to the same root
        session, or a team API key belonging to the same team. Completed and
        failed confirmations include the original operation status and body.
      operationId: getTeamConfirmation
      parameters:
        - $ref: '#/components/parameters/TeamSlug'
        - $ref: '#/components/parameters/ConfirmationId'
      responses:
        '200':
          $ref: '#/components/responses/Confirmation'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    TeamSlug:
      name: teamSlug
      in: path
      required: true
      description: Felan team slug shown in dashboard URLs and Team Settings
      schema:
        type: string
        minLength: 1
    ConfirmationId:
      name: confirmationId
      in: path
      required: true
      description: Confirmation ID returned by a 202 response.
      schema:
        type: string
        format: uuid
  responses:
    Confirmation:
      description: >-
        Confirmation state and, for completed or failed operations, the original
        HTTP result.
      content:
        application/json:
          schema:
            type: object
            additionalProperties: false
            required:
              - data
            properties:
              data:
                type: object
                additionalProperties: false
                required:
                  - confirmation
                properties:
                  confirmation:
                    $ref: '#/components/schemas/Confirmation'
    Unauthorized:
      description: Missing or invalid team API key or session token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        The principal is not permitted to perform the action, or the
        confirmation belongs to another root session. When available,
        error.reason identifies the denial.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: FORBIDDEN
              message: This action is not permitted
              reason: agent_role_denied
    NotFound:
      description: Resource missing or outside the authenticated team
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Team API key rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: The server could not complete the request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Confirmation:
      type: object
      additionalProperties: false
      required:
        - id
        - status
        - summary
        - expiresAt
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - pending
            - completed
            - failed
            - declined
            - expired
            - cancelled
        summary:
          type: string
        expiresAt:
          type: string
          format: date-time
        result:
          type: object
          description: >-
            Original HTTP response of the executed operation. Present for
            completed or failed confirmations.
          additionalProperties: false
          required:
            - status
            - body
          properties:
            status:
              type: integer
              description: HTTP status of the operation.
            body:
              description: >-
                Original JSON response body, or null when the operation has no
                body.
      oneOf:
        - properties:
            status:
              enum:
                - pending
                - declined
                - expired
                - cancelled
          not:
            required:
              - result
        - properties:
            status:
              enum:
                - completed
                - failed
          required:
            - result
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              examples:
                - VALIDATION_ERROR
                - UNAUTHORIZED
                - NOT_FOUND
                - SKILL_SOURCE_UNAVAILABLE
                - EXECUTION_DENIED
                - CONFLICT
                - RATE_LIMITED
                - SESSION_START_FAILED
                - SESSION_PUBLISH_FAILED
                - MESSAGE_PUBLISH_FAILED
                - INTERNAL_ERROR
            message:
              type: string
            reason:
              type: string
              description: >-
                Machine-readable reason when available, including IAM denial or
                confirmation session mismatch.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Team API key. Current keys retain the bzy_team_ compatibility prefix.
    sessionBearerAuth:
      type: http
      scheme: bearer
      description: >-
        Session token for the agent session. Team-scoped operations apply the
        session principal's permissions.

````

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