Get an agent
GET
/api/v3/agents/{agentUuid}
const url = 'https://api.tryletterhead.com/api/v3/agents/example?api=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.tryletterhead.com/api/v3/agents/example?api=true' \ --header 'Authorization: Bearer <token>'Get a single agent by its unique identifier.
Authorizations
Section titled βAuthorizations βParameters
Section titled β Parameters βPath Parameters
Section titled βPath Parameters β agentUuid
required
string
The agentβs unique identifier.
Query Parameters
Section titled βQuery Parameters β api
required
boolean
Required. Set to true.
Responses
Section titled β Responses β200 OK
Media type application/json
object
items
object
uniqueId
string
name
string
type
integer
guidelines
string
status
integer
runMode
How the agent runs: 0 manual, 1 automatic, 2 on a schedule.
integer
frequency
The run schedule, or null when the agent has none. Includes mode, time, emailNotifications, and either daysOfWeek or dayOfMonth.
object
validationCode
Validation status code for the agent. Defaults to 200.
integer
lastRunAt
string
channels
Array<string>
createdAt
string
updatedAt
string
message
string
total
integer
Example
{ "items": { "uniqueId": "mofuehvagv", "name": "House style checker", "type": 0, "guidelines": "> Check the draft against our house style guide.\n> - Use the serial comma.\n> - Spell out numbers under 10; use numerals for 10 and above.\n> - Em dashes take no surrounding spaces.\n>\n> Flag every violation with the specific line it appears on.", "status": 1, "runMode": 0, "frequency": null, "validationCode": 200, "lastRunAt": "2026-06-18T14:22:09+00:00", "channels": [ "the-daily", "weekend-reads" ], "createdAt": "2026-04-11T10:05:33+00:00", "updatedAt": "2026-06-18T14:22:09+00:00" }, "message": "Agent retrieved.", "total": 1}Still can’t find what you need? Contact support.