Validate Agent Import
Validate an agent import request without saving.
Supports three input methods with deterministic access levels:
- agent_url: Remote black_box - Just an endpoint URL to call
- agent_card: Local grey_box - Upload agent configuration/card JSON
- source_code: Local white_box - Upload agent source code files
Returns validation status, access level, and parsed agent card for preview.
Body
Unified request model for agent import.
Supports five input methods (exactly one required), each with deterministic access level:
| Input Method | Mode | Access Level | Description |
|---|---|---|---|
| agent_url | Remote | black_box | Just an endpoint URL to call |
| agent_card | Local | grey_box | Upload agent configuration/card JSON |
| source_code | Local | white_box | Upload agent source code files |
Remote black_box: Agent endpoint URL to call (e.g., https://api.example.com/agent)
Local grey_box: Upload agent configuration/card JSON directly
Local white_box: Upload agent source code files directly
Framework identifier (for informational purposes only)
For white box: path to main file
Override agent name
x >= 1API key for the agent
External identity ID
Identity provider name
IdP-specific metadata