---
title: "List your team's code"
method: GET
path: "/v1/code"
tags: ["code"]
---

# List your team's code

`GET /v1/code`

## Request

- Base URL: `https://api.pomerado.ai`
- URL: `https://api.pomerado.ai/v1/code`
- Auth: HTTP bearer

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

- 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, and each tool how many files your team's draft of it changes.

## Query parameters

- `cursor` string
- `limit` string

## Response `200`

One page of integrations

- object
  - `data` CodeIntegration[], required
    - `id` string, required: an integration ID: int_ and 32 lowercase hex digits
    - `name` string, required
    - `site_url` string, nullable, required: The website's https origin, or null for an offline tool
    - `visibility` 'public' | 'private', required: public: published on Pomerado for every account to find and use. private: only your team sees, uses and edits it
    - `tools` CodeTool[], required: The tools your team created in it
      - `id` string, required: a tool ID: tool_ and 32 lowercase hex digits
      - `name` string, required
      - `effect` 'read' | 'write', required
      - `live_version` object, required: The version callers run now
        - `number` integer, required: The version's number: 1 for the tool's first code, one more for each later version
        - `published_at` string, required: a string to be decoded into a Date
        - `change` 'build' | 'repair' | 'change' | 'update' | 'edit' | 'restore', required: What made this version: build (Pomerado built the tool), repair (Pomerado repaired it after a run failed), change (someone asked for a change), update (Pomerado updated it), edit (a team member edited its code) or restore (a team member restored an earlier version as this one)
        - `requested_by` CodeMember, required
          - `user_id` string, required: The member's user ID
          - `name` string, nullable, required: The member's name, or null when they gave none
          - `email` string, required: The member's sign-in email
        - `restored_from` integer, required: an integer
        - `restorable` boolean, required: Whether code.restore can make this version live again: false for a version published before Pomerado kept a record of each version, and for one taken down
        - `unverified` boolean, required: True until a run verifies it: published without redoing a write already done
      - `draft_changed_files` integer, required: How many files your team's draft of the tool changes; 0 when it has none
      - `login_required` boolean, required: Whether the tool signs in to its website
      - `browser_version` boolean, required: Whether the live version has a browser version, which code.run runs with implementation browser; false only for a read whose HTTP version alone worked
      - `http_version` boolean, required: Whether the live version has an HTTP version, which code.run runs with implementation http
  - `next_cursor` string, nullable, required

## Other responses

- `400`: invalid_request
- `401`: unauthorized, reauthentication_required
- `403`: business_account_required, forbidden
- `500`: internal_error
- `503`: temporarily_unavailable

---

[API](https://skmtc.dev/pomerado/apis/pomerado-api.md) · [All operations](https://skmtc.dev/pomerado/apis/pomerado-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pomerado/apis/pomerado-api/revisions/c07cea59691c?raw)
