Environments
List Branches for Environment
List all branches that match this environment's branch rules.
For wildcard environments (like preview with ["*"]),
returns all non-retired branches for the agent.
For specific branch rules (like production with ["main"]),
returns only the matching branch(es).
Branches are sorted by updated_at descending (most recent first).
get/agents/{namespace_slug}/{agent_name}/environments/{env_name}/branches
Request
- Base URLhttps://docs.terminaluse.com (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namespace_slugstring required
agent_namestring required
env_namestring required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.