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

# List your team's code

> List the integrations your team built, each with the tools your team created in it and the version of its code that runs now.

<Accordion title="Details">
  * Business accounts only. Every member sees all of the team's code.

  * Integrations your team only added from the catalog, and other accounts' tools, are not listed.

  * Each version says what made it and which member asked for it.

  * **Callers:** an API key, an MCP OAuth token or a Dashboard session.

  * **Permission:** `tools:read`.

  * **Effect:** Changes nothing.

  * **Errors:** [`business_account_required`](/errors#business_account_required), and the [errors any request can get](/errors).
</Accordion>


## OpenAPI

````yaml /api-reference/openapi.json get /v1/code
openapi: 3.1.0
info:
  title: Pomerado API
  version: '1'
  description: >-
    Run and build website tools, follow their jobs, and manage logins, API keys
    and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth
    token or a Dashboard session as a Bearer token.
servers:
  - url: https://api.pomerado.ai
security: []
tags:
  - name: account
    x-group: Account
  - name: api_keys
    x-group: API keys
  - name: connected_apps
    x-group: Connected apps
  - name: usage
    x-group: Usage
  - name: quota
    x-group: Quota
  - name: billing
    x-group: Billing
  - name: integrations
    x-group: Integrations
  - name: connect
    x-group: Connect
  - name: code
    x-group: Code
  - name: logins
    x-group: Saved logins
  - name: two_factor
    x-group: 2FA
  - name: login_access
    x-group: Login access
  - name: tools
    x-group: Tools
  - name: webhooks
    x-group: Webhooks
  - name: runs
    x-group: Runs
  - name: builds
    x-group: Builds
  - name: jobs
    x-group: Jobs
  - name: files
    x-group: Files
  - name: team
    x-group: Team
paths:
  /v1/code:
    get:
      tags:
        - code
      summary: List your team's code
      description: >-
        List the integrations your team built, each with the tools your team
        created in it and the version of its code that runs now.
      operationId: code.list
      parameters:
        - name: cursor
          in: query
          required: false
          description: The next_cursor of the previous page
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Items per page, 1 to 100 (default 20)
          schema:
            type: string
      responses:
        '200':
          description: One page of integrations
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - next_cursor
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CodeIntegration'
                  next_cursor:
                    anyOf:
                      - type: string
                      - type: 'null'
                additionalProperties: false
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: business_account_required, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
components:
  schemas:
    CodeIntegration:
      type: object
      required:
        - id
        - name
        - site_url
        - visibility
        - tools
      properties:
        id:
          $ref: '#/components/schemas/integration_id'
        name:
          type: string
        site_url:
          anyOf:
            - type: string
            - type: 'null'
          description: The website's https origin, or null for an offline tool
        visibility:
          type: string
          enum:
            - public
            - private
          description: >-
            public: published on Pomerado for every account to find and use.
            private: only your team sees, uses and edits it
        tools:
          type: array
          items:
            $ref: '#/components/schemas/CodeTool'
          description: The tools your team created in it
      additionalProperties: false
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
    integration_id:
      type: string
      description: 'an integration ID: int_ and 32 lowercase hex digits'
      examples:
        - int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
    CodeTool:
      type: object
      required:
        - id
        - name
        - effect
        - live_version
      properties:
        id:
          $ref: '#/components/schemas/tool_id'
        name:
          type: string
        effect:
          type: string
          enum:
            - read
            - write
        live_version:
          type: object
          required:
            - number
            - published_at
            - change
            - requested_by
          properties:
            number:
              type: integer
              description: >-
                The version's number: 1 for the tool's first code, one more for
                each later version
            published_at:
              $ref: '#/components/schemas/Date'
            change:
              type: string
              enum:
                - build
                - repair
                - change
                - update
              description: >-
                What made this version: build (Pomerado built the tool), repair
                (Pomerado repaired it after a run failed), change (someone asked
                for a change) or update (Pomerado updated it)
            requested_by:
              anyOf:
                - $ref: '#/components/schemas/CodeMember'
                - type: 'null'
              description: >-
                The team member who started the build or asked for the change;
                null for a repair or an update, and for someone outside your
                team
          additionalProperties: false
          description: The version callers run now
      additionalProperties: false
    tool_id:
      type: string
      description: 'a tool ID: tool_ and 32 lowercase hex digits'
      examples:
        - tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
    Date:
      type: string
      description: a string to be decoded into a Date
    CodeMember:
      type: object
      required:
        - user_id
        - name
        - email
      properties:
        user_id:
          type: string
          description: The member's user ID
        name:
          anyOf:
            - type: string
            - type: 'null'
          description: The member's name, or null when they gave none
        email:
          type: string
          description: The member's sign-in email
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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