Skip to content

Teams, activity and API

Commands for team management, the activity feed, API tokens, and direct API access.

Teams

Terminal window
yofix teams list
yofix teams switch acme
yofix teams usage
yofix teams usage --period previous
CommandArgument / flags
teams listList teams you belong to
teams switch <teamSlug>Set the active team (alias of top-level switch)
teams usage--period <current|previous>

yofix activity

Show recent activity. Team-scoped by default; --project scopes to the linked project.

Terminal window
yofix activity
yofix activity --type deploy --branch main --limit 20
yofix activity --project
FlagDefaultDescription
--branch <branch>allFilter by git branch
--type <type>allFilter by kind: deploy or vrt
--limit <n>20Maximum rows
--projectteam scopeScope to the linked project instead of the whole team

Tokens

Manage project API tokens. The secret is shown once at creation.

Terminal window
yofix tokens list
yofix tokens create "CI deploy" --expires 2026-12-31T00:00:00Z
yofix tokens revoke <apiKeyId>
CommandArgument / flags
tokens listList API tokens on the linked project
tokens create <label>--expires <iso> (optional ISO-8601 expiry)
tokens revoke <apiKeyId>Revoke an API token

API

Call the YoFix API directly, with auth and team headers already wired. See Agents, JSON and MCP.

Terminal window
yofix api list
yofix api list --tag deployments
yofix api call GET /v1/projects
yofix api call POST /v1/projects/:id/deployments --data '{"target":"preview"}'
yofix api curl /v1/projects
CommandArgument / flags
api list--tag <tag> — list endpoints from the OpenAPI spec
api call <method> <path>--data <json> — call any endpoint
api curl <path>--method <method>, --data <json> — print the curl command (does not run it)