Get agent
Changed onRetrieve agent details by its unique key.
Gateway not-found behavior: Unknown agentKey, lookup after soft-delete, and other AI-backend failures that return 404 from the Python query service are surfaced by the Node gateway as HTTP 404 with an ErrorResponse body. An agent the caller has no access to (another user's agent that is not shared) is also a 404, not a 403.
The route reads no query parameter; any that is sent is ignored.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/agents/{agentKey}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: agent:read
Path parameters
Unique agent identifier
Response
Agent details
Example response
{
"status": "success",
"message": "Agent retrieved successfully",
"agent": {
"_id": "agentInstances/e6f848ca-e2ab-4594-9925-e1136629f474",
"_key": "e6f848ca-e2ab-4594-9925-e1136629f474",
"_rev": "_lkNlcOm---",
"name": "Customer Support Assistant",
"models": [
{
"modelType": "llm",
"provider": "azureOpenAI",
"modelName": "gpt-5.6-luna",
"modelKey": "f3a4b5b6-5b6c-4e85-9097-3202cfe696fc",
"isMultimodal": true,
"isReasoning": true,
"isDefault": true,
"modelFriendlyName": "GPT 5.4 mini"
}
],
"webSearch": {
"provider": "serper"
},
"access_type": "INDIVIDUAL",
"user_role": "OWNER"
}
}Changes
- breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status
- breaking
- warning
added the new
docsenum value to the///////response property for the response status - warning
added the new
sheetsenum value to the///////response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning