Skip to main content
POST
/
v1
/
agent-configurations
/
import
Import Agent Unified
curl --request POST \
  --url https://api.example.com/v1/agent-configurations/import \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "agent": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "agent_name": "<string>",
    "model_name": "<string>",
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": 123,
    "updated_at": 123,
    "agent_url": "<string>",
    "hub": "custom",
    "api_key": "<string>",
    "agent_system_prompt": "<string>",
    "rate_limit_requests_per_minute": 100,
    "status": "active",
    "access_level": "black_box",
    "agent_params": {
      "temperature": 123,
      "top_p": 123,
      "max_tokens": 123,
      "timeout": 123,
      "rag_params": {},
      "function_route_params": {}
    },
    "mcp_config": {
      "proxy_url": "<string>",
      "access_level": "read",
      "server_urls": [
        "<string>"
      ]
    },
    "delegated_agents": [
      {
        "url": "<string>",
        "agent_card_url": "<string>",
        "name": "<string>",
        "capabilities": [
          "<string>"
        ]
      }
    ],
    "white_box_config": {
      "source_code": "<string>",
      "repo_url": "<string>",
      "github_username": "<string>",
      "repo_branch": "<string>",
      "entry_point": "<string>"
    },
    "agent_metadata": {
      "role": "<string>",
      "job_description": "<string>",
      "version": "<string>",
      "author": "<string>",
      "tags": [
        "<string>"
      ]
    },
    "purpose": "<string>",
    "protocol": "chat_completions",
    "test_score": "<string>",
    "last_tested_by": "<string>",
    "evaluated_harnesses": [
      "<string>"
    ],
    "last_evaluated_at": 123,
    "protection_status": "unprotected",
    "trust_stage": "registered",
    "trusted_at": 123,
    "ttt_days": 123,
    "dome_config_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "dome_manually_configured": false,
    "import_metadata": {
      "source": "manual",
      "source_url": "<string>",
      "imported_at": 123,
      "original_format": "<string>"
    },
    "capabilities": {
      "streaming": false,
      "push_notifications": false,
      "code_execution": false,
      "memory": false,
      "delegation": false,
      "tools": [
        "<string>"
      ]
    },
    "skills": [
      {
        "id": "<string>",
        "name": "<string>",
        "description": "<string>",
        "input_modes": [
          "<string>"
        ],
        "output_modes": [
          "<string>"
        ]
      }
    ],
    "latest_evaluation": {
      "evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "overall_score": 123,
      "reliability_score": 123,
      "security_score": 123,
      "safety_score": 123,
      "completed_at": 123
    }
  },
  "access_level": "<string>",
  "warnings": [],
  "external_id": "<string>",
  "identity_provider": "<string>"
}

Body

application/json

Unified request model for agent import.

Supports five input methods (exactly one required), each with deterministic access level:

Input MethodModeAccess LevelDescription
agent_urlRemoteblack_boxJust an endpoint URL to call
agent_cardLocalgrey_boxUpload agent configuration/card JSON
source_codeLocalwhite_boxUpload agent source code files
agent_url
string | null

Remote black_box: Agent endpoint URL to call (e.g., https://api.example.com/agent)

agent_card
Agent Card · object

Local grey_box: Upload agent configuration/card JSON directly

source_code
SourceCodeUpload · object

Local white_box: Upload agent source code files directly

framework
string | null

Framework identifier (for informational purposes only)

entry_point
string | null

For white box: path to main file

override_name
string | null

Override agent name

rate_limit_requests_per_minute
integer
default:100
Required range: x >= 1
api_key
string | null

API key for the agent

external_id
string | null

External identity ID

identity_provider
string | null

Identity provider name

idp_metadata
Idp Metadata · object

IdP-specific metadata

Response

Successful Response

Response model for unified import.

agent
Agent · object
required

Agent domain model.

access_level
string
required
warnings
string[]
external_id
string | null
identity_provider
string | null
Last modified on April 21, 2026