Skip to main content
GET
/
v1
/
agents
/
{id}
Get agent by id
curl --request GET \
  --url https://api.conduit.ai/v1/agents/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.conduit.ai/v1/agents/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.conduit.ai/v1/agents/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.conduit.ai/v1/agents/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.conduit.ai/v1/agents/{id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.conduit.ai/v1/agents/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.conduit.ai/v1/agents/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "data": {
    "id": "ag77c0dy0mgdpzmqz6tesry8w184002s",
    "workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
    "name": "Reservations",
    "description": "Handles booking and cancellation flows.",
    "version": "v2",
    "instructions": "Answer booking questions, use policies before escalating, and keep replies concise.",
    "guardrails": [
      {
        "id": "guardrail_1",
        "title": "Do not promise refunds",
        "knowledge": "Only cite refund terms from approved policy docs or escalate."
      }
    ],
    "operation_mode": "autopilot",
    "autopilot_schedule": null,
    "custom_response_delay_ms": 10000,
    "auto_mark_as_done": false,
    "response_language": "English",
    "responseflow": true,
    "output_schema": [
      {
        "name": "resolution",
        "description": "Short summary of the final outcome.",
        "type": "string",
        "is_required": true
      }
    ],
    "skill_ids": [
      "ks77c0dy0mgdpzmqz6tesry8w184002s"
    ],
    "connection_ids": [
      "cn77c0dy0mgdpzmqz6tesry8w184002s"
    ],
    "enabled": true,
    "triggers": [
      {
        "id": "tr77c0dy0mgdpzmqz6tesry8w184002s",
        "workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
        "name": "All Messages",
        "description": "Runs for every inbound message.",
        "type": "message",
        "config": {
          "scopeType": "all"
        },
        "enabled": true,
        "created_at": "2026-04-01T17:22:10.000Z",
        "updated_at": "2026-04-03T03:14:15.000Z"
      },
      {
        "id": "tr88c0dy0mgdpzmqz6tesry8w184003s",
        "workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
        "name": "Contact Inbox",
        "description": "Runs only for contact-type inbox messages.",
        "type": "message",
        "config": {
          "scopeType": "inbox",
          "inboxTypeId": "guest"
        },
        "enabled": true,
        "created_at": "2026-04-01T17:22:10.000Z",
        "updated_at": "2026-04-03T03:14:15.000Z"
      },
      {
        "id": "tr99c0dy0mgdpzmqz6tesry8w184004s",
        "workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
        "name": "SMS Channel",
        "description": "Runs only for SMS channel messages.",
        "type": "message",
        "config": {
          "scopeType": "channel",
          "channelType": "sms"
        },
        "enabled": true,
        "created_at": "2026-04-01T17:22:10.000Z",
        "updated_at": "2026-04-03T03:14:15.000Z"
      }
    ],
    "created_at": "2026-04-01T17:22:10.000Z",
    "updated_at": "2026-04-03T03:14:15.000Z"
  }
}
{
"error": "Invalid workspace id"
}
{
"error": "Invalid workspace id"
}
{
"error": "Invalid workspace id"
}
{
"error": "Invalid workspace id"
}
{
"error": "Invalid workspace id"
}

Authorizations

Authorization
string
header
required

Conduit API token. Use Authorization: Bearer <token>. Read/write endpoints require a token with write access.

Path Parameters

id
string
required

Agent id.

Example:

"ag77c0dy0mgdpzmqz6tesry8w184002s"

Query Parameters

workspace_id
string

Optional workspace override. If omitted, Conduit resolves the agent's workspace automatically.

Example:

"j57demo8f8x7c9v0n2q4r6t8y1u3i5o"

Response

Agent

Single V2 chat agent response.

data
object
required