{
  "info": {
    "_postman_id": "5b8b2e4e-84d0-4093-8e2f-43f9d708879e",
    "name": "Tinybird Analyze Tokens API",
    "description": "Tinybird is a real-time data platform that allows you to ingest, process, and expose data through low-latency, high-concurrency APIs. The Tinybird API provides endpoints for managing data sources, pipes, queries, tokens, jobs, organizations, events, environment variables, and sink pipes.\n\nContact Support:\n Name: Tinybird Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:14:17.000Z",
    "updatedAt": "2026-07-28T03:14:17.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-5b8b2e4e-84d0-4093-8e2f-43f9d708879e"
  },
  "item": [
    {
      "name": "v0",
      "item": [
        {
          "name": "tokens",
          "item": [
            {
              "name": "{tokenId}",
              "item": [
                {
                  "name": "refresh",
                  "item": [
                    {
                      "name": "Refresh Token",
                      "id": "f682c820-988e-4ba1-9f44-6b52435dd552",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v0/tokens/:tokenId/refresh",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v0",
                            "tokens",
                            ":tokenId",
                            "refresh"
                          ],
                          "variable": [
                            {
                              "id": "54e34dc9-8cec-455c-8543-092e168d05e1",
                              "key": "tokenId",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Refresh a static token's value while preserving all other attributes."
                      },
                      "response": [
                        {
                          "id": "8e676858-77f5-49a8-b132-3def6f56862f",
                          "name": "Token refreshed successfully",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v0/tokens/:tokenId/refresh",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v0",
                                "tokens",
                                ":tokenId",
                                "refresh"
                              ],
                              "variable": [
                                {
                                  "key": "tokenId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"token\": \"<string>\",\n  \"scopes\": [\n    {\n      \"type\": \"<string>\",\n      \"resource\": \"<string>\"\n    },\n    {\n      \"type\": \"<string>\",\n      \"resource\": \"<string>\"\n    }\n  ],\n  \"created_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T03:14:17.000Z",
                          "updatedAt": "2026-07-28T03:14:17.000Z",
                          "uid": "35240-8e676858-77f5-49a8-b132-3def6f56862f"
                        }
                      ],
                      "createdAt": "2026-07-28T03:14:17.000Z",
                      "updatedAt": "2026-07-28T03:14:17.000Z",
                      "uid": "35240-f682c820-988e-4ba1-9f44-6b52435dd552"
                    }
                  ],
                  "id": "49d3710b-b92e-48aa-a13d-eb92c72a6856",
                  "createdAt": "2026-07-28T03:14:17.000Z",
                  "updatedAt": "2026-07-28T03:14:17.000Z",
                  "uid": "35240-49d3710b-b92e-48aa-a13d-eb92c72a6856"
                },
                {
                  "name": "Get Token",
                  "id": "e86e8218-0706-40d0-8ef8-3f29a6242b90",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v0/tokens/:tokenId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v0",
                        "tokens",
                        ":tokenId"
                      ],
                      "variable": [
                        {
                          "id": "fc2bf397-2065-467c-8c35-fe337e9a857a",
                          "key": "tokenId",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Fetch information about a particular static token."
                  },
                  "response": [
                    {
                      "id": "006b410c-0940-4b9c-a544-3ba6cc296309",
                      "name": "Token details",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v0/tokens/:tokenId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v0",
                            "tokens",
                            ":tokenId"
                          ],
                          "variable": [
                            {
                              "key": "tokenId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"token\": \"<string>\",\n  \"scopes\": [\n    {\n      \"type\": \"<string>\",\n      \"resource\": \"<string>\"\n    },\n    {\n      \"type\": \"<string>\",\n      \"resource\": \"<string>\"\n    }\n  ],\n  \"created_at\": \"<dateTime>\"\n}",
                      "createdAt": "2026-07-28T03:14:17.000Z",
                      "updatedAt": "2026-07-28T03:14:17.000Z",
                      "uid": "35240-006b410c-0940-4b9c-a544-3ba6cc296309"
                    },
                    {
                      "id": "548bccdf-ada7-4951-838e-b5e1b8233f7f",
                      "name": "Resource not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v0/tokens/:tokenId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v0",
                            "tokens",
                            ":tokenId"
                          ],
                          "variable": [
                            {
                              "key": "tokenId"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error\": \"<string>\",\n  \"documentation\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T03:14:17.000Z",
                      "updatedAt": "2026-07-28T03:14:17.000Z",
                      "uid": "35240-548bccdf-ada7-4951-838e-b5e1b8233f7f"
                    }
                  ],
                  "createdAt": "2026-07-28T03:14:17.000Z",
                  "updatedAt": "2026-07-28T03:14:17.000Z",
                  "uid": "35240-e86e8218-0706-40d0-8ef8-3f29a6242b90"
                },
                {
                  "name": "Update Token",
                  "id": "4479aade-96f4-4667-b785-d23d68d7fe6c",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"name\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v0/tokens/:tokenId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v0",
                        "tokens",
                        ":tokenId"
                      ],
                      "variable": [
                        {
                          "id": "e41a228f-d6d8-42af-8115-6f051a652acb",
                          "key": "tokenId",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Modify an existing static token's properties and scopes."
                  },
                  "response": [
                    {
                      "id": "1d8d274c-a94b-4b58-aa8e-2a0899c2e41f",
                      "name": "Token updated successfully",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v0/tokens/:tokenId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v0",
                            "tokens",
                            ":tokenId"
                          ],
                          "variable": [
                            {
                              "key": "tokenId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T03:14:17.000Z",
                      "updatedAt": "2026-07-28T03:14:17.000Z",
                      "uid": "35240-1d8d274c-a94b-4b58-aa8e-2a0899c2e41f"
                    }
                  ],
                  "createdAt": "2026-07-28T03:14:17.000Z",
                  "updatedAt": "2026-07-28T03:14:17.000Z",
                  "uid": "35240-4479aade-96f4-4667-b785-d23d68d7fe6c"
                },
                {
                  "name": "Delete Token",
                  "id": "18a50d85-bf80-487b-8b76-159b82ed01ac",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "DELETE",
                    "header": [],
                    "url": {
                      "raw": "{{baseUrl}}/v0/tokens/:tokenId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v0",
                        "tokens",
                        ":tokenId"
                      ],
                      "variable": [
                        {
                          "id": "eaaae548-2212-4be2-ae49-817cf85a65df",
                          "key": "tokenId",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Remove a static token, immediately revoking its access."
                  },
                  "response": [
                    {
                      "id": "5c2b5067-6d83-4899-be56-0f35274584ee",
                      "name": "Token deleted successfully",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v0/tokens/:tokenId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v0",
                            "tokens",
                            ":tokenId"
                          ],
                          "variable": [
                            {
                              "key": "tokenId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T03:14:17.000Z",
                      "updatedAt": "2026-07-28T03:14:17.000Z",
                      "uid": "35240-5c2b5067-6d83-4899-be56-0f35274584ee"
                    }
                  ],
                  "createdAt": "2026-07-28T03:14:17.000Z",
                  "updatedAt": "2026-07-28T03:14:17.000Z",
                  "uid": "35240-18a50d85-bf80-487b-8b76-159b82ed01ac"
                }
              ],
              "id": "e2bc38b1-ceb4-468c-94b8-c60321c7286c",
              "createdAt": "2026-07-28T03:14:17.000Z",
              "updatedAt": "2026-07-28T03:14:17.000Z",
              "uid": "35240-e2bc38b1-ceb4-468c-94b8-c60321c7286c"
            },
            {
              "name": "List Tokens",
              "id": "4d052c20-028a-4b18-a9dc-f0502f20f310",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v0/tokens/",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v0",
                    "tokens",
                    ""
                  ]
                },
                "description": "Retrieve all workspace static tokens."
              },
              "response": [
                {
                  "id": "48731e53-7222-438b-af01-2b1bb46bb491",
                  "name": "List of tokens",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v0/tokens/",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v0",
                        "tokens",
                        ""
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"tokens\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"token\": \"<string>\",\n      \"scopes\": [\n        {\n          \"type\": \"<string>\",\n          \"resource\": \"<string>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"resource\": \"<string>\"\n        }\n      ],\n      \"created_at\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"token\": \"<string>\",\n      \"scopes\": [\n        {\n          \"type\": \"<string>\",\n          \"resource\": \"<string>\"\n        },\n        {\n          \"type\": \"<string>\",\n          \"resource\": \"<string>\"\n        }\n      ],\n      \"created_at\": \"<dateTime>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T03:14:17.000Z",
                  "updatedAt": "2026-07-28T03:14:17.000Z",
                  "uid": "35240-48731e53-7222-438b-af01-2b1bb46bb491"
                }
              ],
              "createdAt": "2026-07-28T03:14:17.000Z",
              "updatedAt": "2026-07-28T03:14:17.000Z",
              "uid": "35240-4d052c20-028a-4b18-a9dc-f0502f20f310"
            },
            {
              "name": "Create Token",
              "id": "9b5f9a08-e6a3-41f1-a63a-7418484155ee",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v0/tokens/",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v0",
                    "tokens",
                    ""
                  ]
                },
                "description": "Create a new static or JWT token with specified scopes and permissions."
              },
              "response": [
                {
                  "id": "894c78d1-c98b-4548-a75a-7e0d952b0bcd",
                  "name": "Token created successfully",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"name\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v0/tokens/",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v0",
                        "tokens",
                        ""
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"token\": \"<string>\",\n  \"scopes\": [\n    {\n      \"type\": \"<string>\",\n      \"resource\": \"<string>\"\n    },\n    {\n      \"type\": \"<string>\",\n      \"resource\": \"<string>\"\n    }\n  ],\n  \"created_at\": \"<dateTime>\"\n}",
                  "createdAt": "2026-07-28T03:14:17.000Z",
                  "updatedAt": "2026-07-28T03:14:17.000Z",
                  "uid": "35240-894c78d1-c98b-4548-a75a-7e0d952b0bcd"
                }
              ],
              "createdAt": "2026-07-28T03:14:17.000Z",
              "updatedAt": "2026-07-28T03:14:17.000Z",
              "uid": "35240-9b5f9a08-e6a3-41f1-a63a-7418484155ee"
            }
          ],
          "id": "e0298854-4afc-45ef-9b49-e4a653c268c0",
          "createdAt": "2026-07-28T03:14:17.000Z",
          "updatedAt": "2026-07-28T03:14:17.000Z",
          "uid": "35240-e0298854-4afc-45ef-9b49-e4a653c268c0"
        }
      ],
      "id": "03c97c9c-a49d-4892-8ec8-94b34ac1cdde",
      "createdAt": "2026-07-28T03:14:17.000Z",
      "updatedAt": "2026-07-28T03:14:17.000Z",
      "uid": "35240-03c97c9c-a49d-4892-8ec8-94b34ac1cdde"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.tinybird.co"
    }
  ]
}