EmailTAG — API reference
AI team members: their grants, skills, tasks and meetings, runs with their steps, ratings, the skills catalogue and marketplace, oversight and the kill switch. An API key acts as its person: it can ask an agent and propose, but approving an agent's proposal stays a person's.
← All groups
GET
/api/v1/emailtag/agents
AI team members the person may see
Scope: emailtag:read
· paginated
· emailtag.agents
Parameter In Type Description
cursor query string The `next_cursor` of the previous page limit query integer Page size
Responses 200 · 401 · 403 · 429
200 Success
agents *
[EmailTAGAgent]
fields
EmailTAGAgent
ai
boolean
Always true
avatar
string | null
avatar_color
string | null
id *
string (uuid)
job_title
string | null
killed
boolean
kind
"business" | "personal"
mailbox_id
string | null
manager_id
string | null
monthly_budget
string | null
Decimal credits
name
string
status
"evaluation" | "active" | "suspended"
updated_at
string (date-time)
workspace_id
string | null
has_more
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents
Create an AI team member
A `business` agent (the default) gets its own identity and mailbox; a `personal` one works for its creator.
Scope: emailtag:write
· Idempotency-Key
· emailtag.create_agent
Request body application/json
address
string
Mailbox address for a business agent
allowed_tools
[string]
Tool names the agent may use
autonomy
object
Action type → autonomy level
avatar
string
Up to 8 characters (an emoji or initials)
avatar_color
"teal" | "indigo" | "amber" | "rose" | "emerald" | "violet" | "sky" | "slate"
department_id
string (uuid)
description
string
Rich text
job_title
string
kind
"business" | "personal"
limits
object
Run limits
manager_id
string (uuid)
The person responsible (business agents)
monthly_budget
number
Credits per month (0 or more)
name *
string
schedule
object
Scheduled runs
workspace_id
string (uuid)
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429
201 Success
agent *
EmailTAGAgentDetail
fields
EmailTAGAgentDetail
ai
boolean
Always true
allowed_tools
[string]
autonomy
object
Action type → level
avatar
string | null
avatar_color
string | null
description
string
grants
[EmailTAGGrant]
fields
EmailTAGGrant
id *
string (uuid)
kind
"mailbox" | "knowledge_space" | "file_space" | "channel" | "calendar" | "address_book"
label
string | null
level
"read" | "write"
ref_id
string (uuid)
id *
string (uuid)
job_title
string | null
killed
boolean
kind
"business" | "personal"
limits
object
mailbox_id
string | null
manager_id
string | null
month_spend
string
Decimal credits spent this month
monthly_budget
string | null
Decimal credits
name
string
schedule
object
skills
[object]
fields
enabled
boolean
id
string (uuid)
name
string
settings
object
status
"evaluation" | "active" | "suspended"
updated_at
string (date-time)
workspace_id
string | null
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
GET
/api/v1/emailtag/agents/{id}
One AI team member with its configuration
Scope: emailtag:read
· emailtag.agent
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 403 · 404 · 429
200 Success
agent *
EmailTAGAgentDetail
fields
EmailTAGAgentDetail
ai
boolean
Always true
allowed_tools
[string]
autonomy
object
Action type → level
avatar
string | null
avatar_color
string | null
description
string
grants
[EmailTAGGrant]
fields
EmailTAGGrant
id *
string (uuid)
kind
"mailbox" | "knowledge_space" | "file_space" | "channel" | "calendar" | "address_book"
label
string | null
level
"read" | "write"
ref_id
string (uuid)
id *
string (uuid)
job_title
string | null
killed
boolean
kind
"business" | "personal"
limits
object
mailbox_id
string | null
manager_id
string | null
month_spend
string
Decimal credits spent this month
monthly_budget
string | null
Decimal credits
name
string
schedule
object
skills
[object]
fields
enabled
boolean
id
string (uuid)
name
string
settings
object
status
"evaluation" | "active" | "suspended"
updated_at
string (date-time)
workspace_id
string | null
401 Problem details (401)
403 Problem details (403)
404 Problem details (404)
429 Problem details (429)
Example
PATCH
/api/v1/emailtag/agents/{id}
Configure an AI team member
Scope: emailtag:write
· emailtag.update_agent
Parameter In Type Description
id * path string (uuid)
Request body application/json
allowed_tools
[string]
Tool names the agent may use
autonomy
object
Action type → autonomy level
avatar
string
Up to 8 characters (an emoji or initials)
avatar_color
"teal" | "indigo" | "amber" | "rose" | "emerald" | "violet" | "sky" | "slate"
department_id
string (uuid)
description
string
Rich text
job_title
string
limits
object
Run limits
manager_id
string (uuid)
The person responsible (business agents)
monthly_budget
number
Credits per month (0 or more)
name
string
schedule
object
Scheduled runs
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429
200 Success
agent *
EmailTAGAgentDetail
fields
EmailTAGAgentDetail
ai
boolean
Always true
allowed_tools
[string]
autonomy
object
Action type → level
avatar
string | null
avatar_color
string | null
description
string
grants
[EmailTAGGrant]
fields
EmailTAGGrant
id *
string (uuid)
kind
"mailbox" | "knowledge_space" | "file_space" | "channel" | "calendar" | "address_book"
label
string | null
level
"read" | "write"
ref_id
string (uuid)
id *
string (uuid)
job_title
string | null
killed
boolean
kind
"business" | "personal"
limits
object
mailbox_id
string | null
manager_id
string | null
month_spend
string
Decimal credits spent this month
monthly_budget
string | null
Decimal credits
name
string
schedule
object
skills
[object]
fields
enabled
boolean
id
string (uuid)
name
string
settings
object
status
"evaluation" | "active" | "suspended"
updated_at
string (date-time)
workspace_id
string | null
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents/{id}/ask
Ask an agent to do something
Queues a run (202); follow it with `GET /emailtag/runs/{id}`. Proposals it makes wait for a person's approval.
Scope: emailtag:write
· uses AI credits
· Idempotency-Key
· emailtag.ask
Parameter In Type Description
id * path string (uuid)
Request body application/json
goal *
string
What to do (`question` is accepted too)
skill_id
string (uuid)
Run with this skill
Responses 202 · 401 · 402 · 403 · 404 · 409 · 422 · 429
202 Success
run *
EmailTAGRun
fields
EmailTAGRun
agent_id
string (uuid)
created_at
string (date-time)
credits
string
Decimal credits spent
error
string | null
finished_at
string | null
flags
any
goal
string
id *
string (uuid)
rating
string | null
skill_id
string | null
started_at
string | null
status
"queued" | "running" | "succeeded" | "failed" | "stopped" | "refused"
steps
integer
Step count
summary
string | null
test
boolean
trigger
string
trigger_ref
any
What triggered the run
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
GET
/api/v1/emailtag/agents/{id}/grants
What an agent may reach
Scope: emailtag:read
· paginated
· emailtag.grants
Parameter In Type Description
id * path string (uuid) cursor query string The `next_cursor` of the previous page limit query integer Page size
Responses 200 · 401 · 403 · 404 · 429
200 Success
grants *
[EmailTAGGrant]
fields
EmailTAGGrant
id *
string (uuid)
kind
"mailbox" | "knowledge_space" | "file_space" | "channel" | "calendar" | "address_book"
label
string | null
level
"read" | "write"
ref_id
string (uuid)
has_more
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
401 Problem details (401)
403 Problem details (403)
404 Problem details (404)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents/{id}/grants
Grant an agent a resource
Nothing outside an agent's grants is reachable by its tools. The manager must reach the resource themselves.
Scope: emailtag:write
· Idempotency-Key
· emailtag.grant
Parameter In Type Description
id * path string (uuid)
Request body application/json
kind *
"mailbox" | "knowledge_space" | "file_space" | "channel" | "calendar" | "address_book"
level
"read" | "write"
Default read
ref_id *
string (uuid)
The resource
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429
201 Success
grant *
EmailTAGGrant
fields
EmailTAGGrant
id *
string (uuid)
kind
"mailbox" | "knowledge_space" | "file_space" | "channel" | "calendar" | "address_book"
label
string | null
level
"read" | "write"
ref_id
string (uuid)
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
DELETE
/api/v1/emailtag/agents/{id}/grants/{grant_id}
Revoke a grant
Scope: emailtag:write
· emailtag.revoke
Parameter In Type Description
id * path string (uuid) grant_id * path string (uuid) The grant
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents/{id}/kill
Stop an agent at once
The agent does no more work until revived; audit-logged.
Scope: emailtag:write
· Idempotency-Key
· emailtag.kill
Parameter In Type Description
id * path string (uuid)
Request body application/json
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
agent *
EmailTAGAgent
fields
EmailTAGAgent
ai
boolean
Always true
avatar
string | null
avatar_color
string | null
id *
string (uuid)
job_title
string | null
killed
boolean
kind
"business" | "personal"
mailbox_id
string | null
manager_id
string | null
monthly_budget
string | null
Decimal credits
name
string
status
"evaluation" | "active" | "suspended"
updated_at
string (date-time)
workspace_id
string | null
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents/{id}/meetings
Invite an agent to a meeting
The meeting's host invites an active business agent.
Scope: emailtag:write
· Idempotency-Key
· emailtag.invite_meeting
Parameter In Type Description
id * path string (uuid)
Request body application/json
meeting_id *
string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
invite *
object
fields
error
string | null
id
string (uuid)
meeting_id
string (uuid)
status
string
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Meetings off for the agent, or the agent is not active
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents/{id}/revive
Revive a killed agent
Scope: emailtag:write
· Idempotency-Key
· emailtag.revive
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
agent *
EmailTAGAgent
fields
EmailTAGAgent
ai
boolean
Always true
avatar
string | null
avatar_color
string | null
id *
string (uuid)
job_title
string | null
killed
boolean
kind
"business" | "personal"
mailbox_id
string | null
manager_id
string | null
monthly_budget
string | null
Decimal credits
name
string
status
"evaluation" | "active" | "suspended"
updated_at
string (date-time)
workspace_id
string | null
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents/{id}/skills
Give an agent a skill
Scope: emailtag:write
· Idempotency-Key
· emailtag.assign_skill
Parameter In Type Description
id * path string (uuid)
Request body application/json
settings
object
The skill's settings for this agent
skill_id *
string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
skills *
[EmailTAGAgentSkill]
fields
EmailTAGAgentSkill
builtin
boolean
category
string
enabled
boolean
id *
string (uuid)
installs
integer
key
string
moderation
string
none | pending | approved | rejected …
name
string
publisher
string | null
rating
number | null
Average stars
ratings
integer
settings
object
source_skill_id
string | null
The marketplace skill this is a copy of
summary
string | null
tools
[string]
triggers
[string]
update_available
any
Whether (or which version of) an update to the source exists
version
integer
visibility
"private" | "account" | "public"
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
DELETE
/api/v1/emailtag/agents/{id}/skills/{skill_id}
Take a skill away from an agent
Scope: emailtag:write
· emailtag.unassign_skill
Parameter In Type Description
id * path string (uuid) skill_id * path string (uuid) The skill
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents/{id}/status
Move an agent between evaluation, active and suspended
Scope: emailtag:write
· Idempotency-Key
· emailtag.set_status
Parameter In Type Description
id * path string (uuid)
Request body application/json
status *
"evaluation" | "active" | "suspended"
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
agent *
EmailTAGAgent
fields
EmailTAGAgent
ai
boolean
Always true
avatar
string | null
avatar_color
string | null
id *
string (uuid)
job_title
string | null
killed
boolean
kind
"business" | "personal"
mailbox_id
string | null
manager_id
string | null
monthly_budget
string | null
Decimal credits
name
string
status
"evaluation" | "active" | "suspended"
updated_at
string (date-time)
workspace_id
string | null
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
GET
/api/v1/emailtag/agents/{id}/tasks
An agent's tasks
Scope: emailtag:read
· paginated
· emailtag.tasks
Parameter In Type Description
id * path string (uuid) cursor query string The `next_cursor` of the previous page limit query integer Page size
Responses 200 · 401 · 403 · 404 · 429
200 Success
has_more
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
tasks *
[EmailTAGTask]
fields
EmailTAGTask
assignee_user_id
string | null
description
string
due_at
string | null
id *
string (uuid)
result
string | null
run_id
string | null
source
string
status
"open" | "in_progress" | "done" | "cancelled"
title
string
401 Problem details (401)
403 Problem details (403)
404 Problem details (404)
429 Problem details (429)
Example
POST
/api/v1/emailtag/agents/{id}/tasks
Assign a task to an agent
Creates the task and queues a run for it.
Scope: emailtag:write
· uses AI credits
· Idempotency-Key
· emailtag.create_task
Parameter In Type Description
id * path string (uuid)
Request body application/json
description
string
Rich text
due
string (date-time)
skill_id
string (uuid)
title *
string
At most 200 characters
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429
201 Success
task *
EmailTAGTask
fields
EmailTAGTask
assignee_user_id
string | null
description
string
due_at
string | null
id *
string (uuid)
result
string | null
run_id
string | null
source
string
status
"open" | "in_progress" | "done" | "cancelled"
title
string
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
PUT
/api/v1/emailtag/kill-switch
Turn the account's AI kill switch on or off
Admins. On stops every agent in the account.
Scope: emailtag:write
· emailtag.kill_switch
Request body application/json
Responses 200 · 401 · 402 · 403 · 422 · 429
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
422 Problem details (422)
429 Problem details (429)
Example
GET
/api/v1/emailtag/marketplace
The skills marketplace
Scope: emailtag:read
· emailtag.marketplace
Responses 200 · 401 · 403 · 429
200 Success
account *
[EmailTAGSkill]
fields
EmailTAGSkill
builtin
boolean
category
string
id *
string (uuid)
installs
integer
key
string
moderation
string
none | pending | approved | rejected …
name
string
publisher
string | null
rating
number | null
Average stars
ratings
integer
source_skill_id
string | null
The marketplace skill this is a copy of
summary
string | null
tools
[string]
triggers
[string]
update_available
any
Whether (or which version of) an update to the source exists
version
integer
visibility
"private" | "account" | "public"
public *
[object]
fields
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
POST
/api/v1/emailtag/marketplace/{id}/install
Install a marketplace skill
Installs a copy into the account.
Scope: emailtag:write
· Idempotency-Key
· emailtag.install
Parameter In Type Description
id * path string (uuid)
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429
201 Success
skill *
EmailTAGSkillDetail
fields
EmailTAGSkillDetail
builtin
boolean
category
string
id *
string (uuid)
input_schema
object
installs
integer
instructions
string
key
string
last_test
object
The last test summary
limits
object
moderation
string
none | pending | approved | rejected …
name
string
output_schema
object
publisher
string | null
rating
number | null
Average stars
ratings
integer
source_skill_id
string | null
The marketplace skill this is a copy of
summary
string | null
test_cases
[object]
tools
[string]
triggers
[string]
update_available
any
Whether (or which version of) an update to the source exists
version
integer
visibility
"private" | "account" | "public"
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/marketplace/{id}/rate
Rate a skill
A person does this, not an API key.
Scope: emailtag:write
· Idempotency-Key
· emailtag.rate_skill
Parameter In Type Description
id * path string (uuid)
Request body application/json
comment
string
stars *
integer
1 to 5
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
skill *
EmailTAGSkill
fields
EmailTAGSkill
builtin
boolean
category
string
id *
string (uuid)
installs
integer
key
string
moderation
string
none | pending | approved | rejected …
name
string
publisher
string | null
rating
number | null
Average stars
ratings
integer
source_skill_id
string | null
The marketplace skill this is a copy of
summary
string | null
tools
[string]
triggers
[string]
update_available
any
Whether (or which version of) an update to the source exists
version
integer
visibility
"private" | "account" | "public"
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
GET
/api/v1/emailtag/oversight
Oversight dashboard (last 30 days)
Scope: emailtag:read
· emailtag.oversight
Parameter In Type Description
mine query boolean Only agents the person manages
Responses 200 · 401 · 403 · 429
200 Success
agents
[object]
fields
active
integer
agent
EmailTAGAgent
fields
EmailTAGAgent
ai
boolean
Always true
avatar
string | null
avatar_color
string | null
id *
string (uuid)
job_title
string | null
killed
boolean
kind
"business" | "personal"
mailbox_id
string | null
manager_id
string | null
monthly_budget
string | null
Decimal credits
name
string
status
"evaluation" | "active" | "suspended"
updated_at
string (date-time)
workspace_id
string | null
down
integer
failed
integer
last_error
string | null
pending
integer
runs
integer
score
number | null
spend
string
Decimal credits
succeeded
integer
up
integer
killed *
boolean
The account kill switch is on
totals
object
fields
down
integer
failed
integer
pending
integer
runs
integer
spend
string
Decimal credits
up
integer
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
GET
/api/v1/emailtag/runs
Agent runs, newest first
Scope: emailtag:read
· paginated
· emailtag.runs
Parameter In Type Description
agent_id query string (uuid) status query "queued" | "running" | "succeeded" | "failed" | "stopped" | "refused" limit query integer Default 50, at most 200 cursor query string The `next_cursor` of the previous page
Responses 200 · 401 · 403 · 429
200 Success
has_more
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
runs *
[EmailTAGRun]
fields
EmailTAGRun
agent_id
string (uuid)
created_at
string (date-time)
credits
string
Decimal credits spent
error
string | null
finished_at
string | null
flags
any
goal
string
id *
string (uuid)
rating
string | null
skill_id
string | null
started_at
string | null
status
"queued" | "running" | "succeeded" | "failed" | "stopped" | "refused"
steps
integer
Step count
summary
string | null
test
boolean
trigger
string
trigger_ref
any
What triggered the run
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
GET
/api/v1/emailtag/runs/{id}
One run with its steps
Scope: emailtag:read
· emailtag.run
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 403 · 404 · 429
200 Success
run *
object
An EmailTAGRun whose `steps` holds the step list
fields
steps
[EmailTAGRunStep]
fields
EmailTAGRunStep
credits
string
Decimal credits
input
any
kind
string
model
string | null
ms
integer | null
n
integer
output
any
proposal_id
string | null
provider
string | null
status
string
thought
string | null
tokens_in
integer | null
tokens_out
integer | null
tool
string | null
401 Problem details (401)
403 Problem details (403)
404 Problem details (404)
429 Problem details (429)
Example
POST
/api/v1/emailtag/runs/{id}/rate
Rate a run
A person does this, not an API key (403 `approval_needs_person`).
Scope: emailtag:write
· Idempotency-Key
· emailtag.rate
Parameter In Type Description
id * path string (uuid)
Request body application/json
note
string
rating *
"up" | "down"
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
run *
EmailTAGRun
fields
EmailTAGRun
agent_id
string (uuid)
created_at
string (date-time)
credits
string
Decimal credits spent
error
string | null
finished_at
string | null
flags
any
goal
string
id *
string (uuid)
rating
string | null
skill_id
string | null
started_at
string | null
status
"queued" | "running" | "succeeded" | "failed" | "stopped" | "refused"
steps
integer
Step count
summary
string | null
test
boolean
trigger
string
trigger_ref
any
What triggered the run
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/runs/{id}/replay
Run a run's goal again
Scope: emailtag:write
· uses AI credits
· Idempotency-Key
· emailtag.replay
Parameter In Type Description
id * path string (uuid)
Responses 202 · 401 · 402 · 403 · 404 · 409 · 422 · 429
202 Success
run *
EmailTAGRun
fields
EmailTAGRun
agent_id
string (uuid)
created_at
string (date-time)
credits
string
Decimal credits spent
error
string | null
finished_at
string | null
flags
any
goal
string
id *
string (uuid)
rating
string | null
skill_id
string | null
started_at
string | null
status
"queued" | "running" | "succeeded" | "failed" | "stopped" | "refused"
steps
integer
Step count
summary
string | null
test
boolean
trigger
string
trigger_ref
any
What triggered the run
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
GET
/api/v1/emailtag/skills
Skills installed in the account
Scope: emailtag:read
· paginated
· emailtag.skills
Parameter In Type Description
cursor query string The `next_cursor` of the previous page limit query integer Page size
Responses 200 · 401 · 403 · 429
200 Success
has_more
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
skills *
[EmailTAGSkillDetail]
fields
EmailTAGSkillDetail
builtin
boolean
category
string
id *
string (uuid)
input_schema
object
installs
integer
instructions
string
key
string
last_test
object
The last test summary
limits
object
moderation
string
none | pending | approved | rejected …
name
string
output_schema
object
publisher
string | null
rating
number | null
Average stars
ratings
integer
source_skill_id
string | null
The marketplace skill this is a copy of
summary
string | null
test_cases
[object]
tools
[string]
triggers
[string]
update_available
any
Whether (or which version of) an update to the source exists
version
integer
visibility
"private" | "account" | "public"
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
POST
/api/v1/emailtag/skills
Create a skill
Admins. Skills are declarative: instructions, a tool allow-list, triggers, schemas and test cases — never code.
Scope: emailtag:write
· Idempotency-Key
· emailtag.create_skill
Request body application/json
EmailTAGSkillInput
category
"communication" | "documents" | "meetings" | "business" | "technical"
input_schema
object
JSON Schema
instructions
string
Rich text, at most 20,000 characters
limits
object
name *
string
2 to 80 characters
output_schema
object
JSON Schema
summary
string
test_cases
[object]
At most 20
fields
expect
object
fields
not_tools
[string]
tools
[string]
fixtures
object
goal
string
name
string
tools
[string]
Tool allow-list (at least one)
triggers
["thread_assigned" | "mail_received" | "mention" | "schedule" | "task" | "manual" | "meeting"]
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429
201 Success
skill *
EmailTAGSkillDetail
fields
EmailTAGSkillDetail
builtin
boolean
category
string
id *
string (uuid)
input_schema
object
installs
integer
instructions
string
key
string
last_test
object
The last test summary
limits
object
moderation
string
none | pending | approved | rejected …
name
string
output_schema
object
publisher
string | null
rating
number | null
Average stars
ratings
integer
source_skill_id
string | null
The marketplace skill this is a copy of
summary
string | null
test_cases
[object]
tools
[string]
triggers
[string]
update_available
any
Whether (or which version of) an update to the source exists
version
integer
visibility
"private" | "account" | "public"
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/skills/validate
Check a skill without saving it
Scope: emailtag:write
· Idempotency-Key
· emailtag.validate_skill
Request body application/json
EmailTAGSkillInput
category
"communication" | "documents" | "meetings" | "business" | "technical"
input_schema
object
JSON Schema
instructions
string
Rich text, at most 20,000 characters
limits
object
name *
string
2 to 80 characters
output_schema
object
JSON Schema
summary
string
test_cases
[object]
At most 20
fields
expect
object
fields
not_tools
[string]
tools
[string]
fixtures
object
goal
string
name
string
tools
[string]
Tool allow-list (at least one)
triggers
["thread_assigned" | "mail_received" | "mention" | "schedule" | "task" | "manual" | "meeting"]
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429
200 Success
errors *
[object]
fields
field
string
message
string
valid *
boolean
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
DELETE
/api/v1/emailtag/skills/{id}
Delete a skill
Scope: emailtag:write
· emailtag.delete_skill
Parameter In Type Description
id * path string (uuid)
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
422 Problem details (422)
429 Problem details (429)
Example
GET
/api/v1/emailtag/skills/{id}
One skill with its versions
Scope: emailtag:read
· emailtag.skill
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 403 · 404 · 429
200 Success
skill *
object
An EmailTAGSkillDetail plus `versions`
fields
versions
[object]
fields
at
string (date-time)
note
string | null
version
integer
401 Problem details (401)
403 Problem details (403)
404 Problem details (404)
429 Problem details (429)
Example
PATCH
/api/v1/emailtag/skills/{id}
Change a skill (a new version)
Scope: emailtag:write
· emailtag.update_skill
Parameter In Type Description
id * path string (uuid)
Request body application/json
category
"communication" | "documents" | "meetings" | "business" | "technical"
input_schema
object
JSON Schema
instructions
string
Rich text, at most 20,000 characters
limits
object
name
string
2 to 80 characters
note
string
Version note
output_schema
object
JSON Schema
summary
string
test_cases
[object]
At most 20
fields
expect
object
fields
not_tools
[string]
tools
[string]
fixtures
object
goal
string
name
string
tools
[string]
Tool allow-list (at least one)
triggers
["thread_assigned" | "mail_received" | "mention" | "schedule" | "task" | "manual" | "meeting"]
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429
200 Success
skill *
EmailTAGSkillDetail
fields
EmailTAGSkillDetail
builtin
boolean
category
string
id *
string (uuid)
input_schema
object
installs
integer
instructions
string
key
string
last_test
object
The last test summary
limits
object
moderation
string
none | pending | approved | rejected …
name
string
output_schema
object
publisher
string | null
rating
number | null
Average stars
ratings
integer
source_skill_id
string | null
The marketplace skill this is a copy of
summary
string | null
test_cases
[object]
tools
[string]
triggers
[string]
update_available
any
Whether (or which version of) an update to the source exists
version
integer
visibility
"private" | "account" | "public"
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/skills/{id}/publish
Publish a skill
`public` submissions wait for platform moderation; an installed copy can't be published publicly.
Scope: emailtag:write
· Idempotency-Key
· emailtag.publish_skill
Parameter In Type Description
id * path string (uuid)
Request body application/json
visibility *
"private" | "account" | "public"
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
skill *
EmailTAGSkillDetail
fields
EmailTAGSkillDetail
builtin
boolean
category
string
id *
string (uuid)
input_schema
object
installs
integer
instructions
string
key
string
last_test
object
The last test summary
limits
object
moderation
string
none | pending | approved | rejected …
name
string
output_schema
object
publisher
string | null
rating
number | null
Average stars
ratings
integer
source_skill_id
string | null
The marketplace skill this is a copy of
summary
string | null
test_cases
[object]
tools
[string]
triggers
[string]
update_available
any
Whether (or which version of) an update to the source exists
version
integer
visibility
"private" | "account" | "public"
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 Problem details (409)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/emailtag/skills/{id}/test
Run a skill's test cases
Each test case runs as one of the person's agents (in test mode); the summary is stored as `last_test`.
Scope: emailtag:write
· uses AI credits
· Idempotency-Key
· emailtag.test_skill
Parameter In Type Description
id * path string (uuid)
Request body application/json
agent_id *
string (uuid)
The agent the tests run as
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
test *
EmailTAGSkillTest
fields
EmailTAGSkillTest
at
string (date-time)
failed
integer
passed
integer
results
[object]
fields
name
string
passed
boolean
problems
[string]
version
integer
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 The skill has no test cases
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example