---
updatedAt: 2026-04-21T20:16:33.000Z
agentTools:
  projectIndex: https://developers.hivelocity.net/llms.txt
---

# Get current client's configuration for authentication with external Identity Providers

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/saml/sp/config": {
      "get": {
        "operationId": "get_saml_service_provider_config_resource",
        "parameters": [
          {
            "description": "An optional fields mask",
            "in": "header",
            "name": "X-Fields",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Service Provider metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SPMetadataResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission."
          },
          "404": {
            "description": "Service Provider metadata not found"
          }
        },
        "summary": "Get current client's configuration for authentication with external Identity Providers",
        "tags": [
          "SAML"
        ]
      }
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "SAML SSO Management",
      "name": "SAML"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    },
    "schemas": {
      "SPMetadataResponse": {
        "properties": {
          "entityId": {
            "description": "The unique identifier for the service provider",
            "type": "string"
          },
          "idpMetadata": {
            "description": "The actual IdP metadata XML",
            "type": "object"
          },
          "metadataUrl": {
            "description": "The URL where the IdP metadata can be accessed",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  }
}
```