GET
/
v1
/
platforms
/
{platform_id}
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "metadata": "<any>",
  "name": "<string>",
  "organizations": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "platform_id": "<string>",
      "credentials": [
        {
          "id": "<string>",
          "name": "<string>",
          "description": "<string>",
          "metadata": "<any>",
          "datasource_id": "<string>",
          "team_id": "<string>",
          "organization_id": "<string>",
          "infrastructure_id": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "datasources": {
            "id": "<string>",
            "name": "<string>",
            "type": "<string>",
            "uri": "<string>",
            "status": "<string>",
            "project_id": "<string>",
            "created_at": "2023-11-07T05:31:56Z",
            "updated_at": "2023-11-07T05:31:56Z",
            "deleted_at": "2023-11-07T05:31:56Z",
            "credentials": [
              {}
            ],
            "dataobjects": [
              {}
            ],
            "projects": {
              "id": "<string>",
              "name": "<any>",
              "team_id": "<any>",
              "description": "<any>",
              "created_at": "<any>",
              "updated_at": "<any>",
              "deleted_at": "<any>",
              "datasources": "<any>",
              "events": "<any>",
              "teams": "<any>",
              "datalines": "<any>",
              "api": "<any>",
              "jobs": "<any>",
              "conversations": "<any>",
              "queryprograms": "<any>",
              "ontologies": "<any>",
              "api_logs": "<any>"
            }
          },
          "infrastructure": {
            "id": "<string>",
            "organization_id": "<string>",
            "resources_allocated": "<any>",
            "limits": "<any>",
            "created_at": "2023-11-07T05:31:56Z",
            "updated_at": "2023-11-07T05:31:56Z",
            "credentials": [
              {}
            ],
            "organizations": {}
          },
          "organizations": {},
          "teams": {
            "id": "<string>",
            "name": "<string>",
            "organization_id": "<string>",
            "created_at": "2023-11-07T05:31:56Z",
            "updated_at": "2023-11-07T05:31:56Z",
            "credentials": [
              {}
            ],
            "projects": [
              {}
            ],
            "rbac": [
              {}
            ],
            "secrets": [
              {}
            ],
            "organizations": {},
            "user_teams": [
              {}
            ]
          },
          "secrets": [
            {
              "id": "<string>",
              "key": "<string>",
              "value": "<string>",
              "team_id": "<string>",
              "type": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "credentialsId": "<string>",
              "credentials": {},
              "teams": {}
            }
          ]
        }
      ],
      "infrastructure": [
        {
          "id": "<string>",
          "organization_id": "<string>",
          "resources_allocated": "<any>",
          "limits": "<any>",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "credentials": [
            {}
          ],
          "organizations": {}
        }
      ],
      "platform": {},
      "teams": [
        {
          "id": "<string>",
          "name": "<string>",
          "organization_id": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "credentials": [
            {}
          ],
          "projects": [
            {}
          ],
          "rbac": [
            {}
          ],
          "secrets": [
            {}
          ],
          "organizations": {},
          "user_teams": [
            {}
          ]
        }
      ],
      "users": [
        {
          "email": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "name": "<string>",
          "organization_id": "<string>",
          "role": "<string>",
          "updated_at": "2023-11-07T05:31:56Z",
          "id": "<string>",
          "authentication": [
            {
              "id": "<string>",
              "token": "<string>",
              "user_id": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "users": {}
            }
          ],
          "rbac": [
            {}
          ],
          "user_teams": [
            {
              "id": "<string>",
              "user_id": "<string>",
              "team_id": "<string>",
              "role": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "deleted_at": "2023-11-07T05:31:56Z",
              "team": {},
              "user": {}
            }
          ],
          "clerk_user_id": "<string>",
          "organizations": {},
          "jobs": [
            {
              "id": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "metadata": "<string>",
              "payload_hash": "<string>",
              "job_type": "<string>",
              "parent_job_id": "<string>",
              "project_id": "<string>",
              "user_id": "<string>",
              "latest_status": "<string>",
              "users": {},
              "projects": {},
              "statuses": [
                "<any>"
              ],
              "parent_job": {},
              "child_jobs": [
                "<any>"
              ],
              "job_events": [
                "<any>"
              ],
              "job_sources": [
                "<any>"
              ]
            }
          ],
          "messages": [
            {
              "id": "<string>",
              "author_user_id": "<string>",
              "conversation_id": "<string>",
              "author_role": "<string>",
              "author_name": "<string>",
              "author_metadata": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "content_type": "<string>",
              "content_text": "<string>",
              "response_format": "<string>",
              "status": "<string>",
              "end_turn": true,
              "weight": 123,
              "recipient": "<string>",
              "channel": "<string>",
              "request_id": "<string>",
              "aggregate_result": "<string>",
              "tool_messages": "<string>",
              "finish_details": "<string>",
              "attachments": "<string>",
              "formatted_content": "<string>",
              "conversation": {},
              "node": [
                "<any>"
              ],
              "user": {}
            }
          ],
          "api_keys": [
            {
              "id": "<string>",
              "key_hash": "<string>",
              "name": "<string>",
              "display_value": "<string>",
              "user_id": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "deleted_at": "2023-11-07T05:31:56Z",
              "last_used": "2023-11-07T05:31:56Z",
              "user": {}
            }
          ],
          "api_logs": [
            {
              "id": "<string>",
              "api_slug": "<string>",
              "version": "<string>",
              "endpoint_path": "<string>",
              "user_id": "<string>",
              "project_id": "<string>",
              "queryresponse_id": "<string>",
              "query_params": "<string>",
              "response_time_ms": 123,
              "status_code": 123,
              "request_body": "<string>",
              "parent_log_id": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "queryresponse": {},
              "user": {},
              "project": {},
              "parent_log": {},
              "child_logs": [
                "<any>"
              ]
            }
          ]
        }
      ],
      "clerk_org_id": "<string>",
      "restricted_exec": true,
      "subscriptions": [
        {
          "id": "<string>",
          "organization_id": "<string>",
          "stripe_customer_id": "<string>",
          "stripe_subscription_id": "<string>",
          "tier": "<string>",
          "api_call_limit": 123,
          "api_calls_used": 123,
          "overage_settings": "<string>",
          "billing_period_end": "2023-11-07T05:31:56Z",
          "billing_period_start": "2023-11-07T05:31:56Z",
          "billing_interval": "<string>",
          "subscription_price": 123,
          "status": "<string>",
          "canceled_at": "2023-11-07T05:31:56Z",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "organization": {}
        }
      ]
    }
  ]
}

Path Parameters

platform_id
string
required

Response

Successful Response

Represents a platform record