AI
Invoke a specific agent
This route allows you to create an agent's invocation.<br/><br/>To learn more about AI agents, check out the documentation.
post/v1/agent/{identifier}/invoke
Request
- Base URL: https://api.port.io
- URL: https://api.port.io/v1/agent/{identifier}/invoke
- Auth: API key in header Authorization
Path parameters
identifierstring required
The identifier of the agent you want to operate on.
Query parameters
invocation_identifierstring
Optional existing invocation id when continuing a multi-step interaction.
conversation_identifierstring
Conversation ID for clients continuing a thread.
streamboolean
If true, response may stream (when supported) instead of a single payload.
use_mcpboolean
If true, MCP tools may be used for this invocation when configured.
Request body
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.