List your team's code
curl --request GET \
--url https://api.pomerado.ai/v1/code \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pomerado.ai/v1/code', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pomerado.ai/v1/code"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190",
"name": "<string>",
"site_url": "<string>",
"visibility": "public",
"tools": [
{
"id": "tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190",
"name": "<string>",
"effect": "read",
"live_version": {
"number": 123,
"published_at": "<string>",
"change": "build",
"requested_by": {
"user_id": "<string>",
"name": "<string>",
"email": "<string>"
}
}
}
]
}
],
"next_cursor": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}Tools and integrations
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.
GET
/
v1
/
code
List your team's code
curl --request GET \
--url https://api.pomerado.ai/v1/code \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pomerado.ai/v1/code', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pomerado.ai/v1/code"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190",
"name": "<string>",
"site_url": "<string>",
"visibility": "public",
"tools": [
{
"id": "tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190",
"name": "<string>",
"effect": "read",
"live_version": {
"number": 123,
"published_at": "<string>",
"change": "build",
"requested_by": {
"user_id": "<string>",
"name": "<string>",
"email": "<string>"
}
}
}
]
}
],
"next_cursor": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}Details
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, and the errors any request can get.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The next_cursor of the previous page
Items per page, 1 to 100 (default 20)