GET
/
api
/
v1
/
gateways
/
{gateway_id}
/
services
/
{service_id}
{
  "created_at": "<string>",
  "credentials": {
    "allow_override": true,
    "aws_access_key_id": "<string>",
    "aws_secret_access_key": "<string>",
    "azure_client_id": "<string>",
    "azure_client_secret": "<string>",
    "azure_tenant_id": "<string>",
    "azure_use_managed_identity": true,
    "gcp_service_account_json": "<string>",
    "gcp_use_service_account": true,
    "header_name": "<string>",
    "header_value": "<string>",
    "param_location": "<string>",
    "param_name": "<string>",
    "param_value": "<string>"
  },
  "description": "<string>",
  "gateway_id": "<string>",
  "headers": {},
  "host": "<string>",
  "id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "port": 123,
  "protocol": "<string>",
  "retries": 123,
  "stream": true,
  "tags": [
    "<string>"
  ],
  "type": "<string>",
  "updated_at": "<string>",
  "upstream": {
    "algorithm": "<string>",
    "created_at": "<string>",
    "embedding_config": {
      "credentials": {
        "allow_override": true,
        "aws_access_key_id": "<string>",
        "aws_secret_access_key": "<string>",
        "azure_client_id": "<string>",
        "azure_client_secret": "<string>",
        "azure_tenant_id": "<string>",
        "azure_use_managed_identity": true,
        "gcp_service_account_json": "<string>",
        "gcp_use_service_account": true,
        "header_name": "<string>",
        "header_value": "<string>",
        "param_location": "<string>",
        "param_name": "<string>",
        "param_value": "<string>"
      },
      "model": "<string>",
      "provider": "<string>"
    },
    "gateway_id": "<string>",
    "health_checks": {
      "headers": {},
      "interval": 123,
      "passive": true,
      "path": "<string>",
      "threshold": 123
    },
    "id": "<string>",
    "name": "<string>",
    "tags": [
      "<string>"
    ],
    "targets": [
      {
        "credentials": {
          "allow_override": true,
          "aws_access_key_id": "<string>",
          "aws_secret_access_key": "<string>",
          "azure_client_id": "<string>",
          "azure_client_secret": "<string>",
          "azure_tenant_id": "<string>",
          "azure_use_managed_identity": true,
          "gcp_service_account_json": "<string>",
          "gcp_use_service_account": true,
          "header_name": "<string>",
          "header_value": "<string>",
          "param_location": "<string>",
          "param_name": "<string>",
          "param_value": "<string>"
        },
        "default_model": "<string>",
        "description": "<string>",
        "headers": {},
        "host": "<string>",
        "id": "<string>",
        "models": [
          "<string>"
        ],
        "path": "<string>",
        "port": 123,
        "priority": 123,
        "protocol": "<string>",
        "provider": "<string>",
        "stream": true,
        "tags": [
          "<string>"
        ],
        "weight": 123
      }
    ],
    "updated_at": "<string>",
    "websocket_config": {
      "enable_direct_communication": true,
      "handshake_timeout": "<string>",
      "ping_period": "<string>",
      "pong_wait": "<string>",
      "read_buffer_size": 123,
      "return_error_details": true,
      "write_buffer_size": 123
    }
  },
  "upstream_id": "<string>"
}

Headers

Authorization
string
required

Authorization token

Path Parameters

gateway_id
string
required

Gateway ID

service_id
string
required

Service ID

Response

200
application/json

Service details

The response is of type object.