Command Teamspaces

A teamspace is where a software team plans and tracks its work in Command. Behind it is an Asana project with the Command teamspace custom type.

CommandTeamspaceCompact

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
namestringThe name of the teamspace.
is_archivedbooleanRead-only. True if the teamspace is archived, false if not.

Example JSON for CommandTeamspaceCompact:

{
  "gid": "12345",
  "resource_type": "command_teamspace",
  "name": "Platform",
  "is_archived": false
}

CommandTeamspace

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
namestringThe name of the teamspace.
is_archivedbooleanRead-only. True if the teamspace is archived, false if not.
descriptionstringThe teamspace's description as plain text.
html_descriptionstringThe teamspace's description with formatting as HTML. See rich text.
ticket_prefixstringThe prefix of the ticket IDs in this teamspace: CODE gives CODE-42.
workspaceobjectThe workspace the teamspace belongs to.
workspace.gidstringGlobally unique identifier of the resource, as a string.
workspace.resource_typestringThe base type of this resource.
workspace.namestringThe name of the workspace.
ownerobjectThe teamspace owner.
owner.gidstringGlobally unique identifier of the resource, as a string.
owner.resource_typestringThe base type of this resource.
owner.namestringRead-only except when same user as requester. The user's name.
created_atstring (date-time)The time at which the teamspace was created.
modified_atstring (date-time)The time at which the teamspace was last changed.
permalink_urlstringA url that points directly to the teamspace in Command.
cycle_length_weeksintegerThe length of each cycle in weeks.
cycle_start_onstring (date)The start date of one cycle. All other cycles line up with it.
current_cycleobjectThe cycle that includes today (UTC).
current_cycle.start_onstring (date)The cycle's first day.
current_cycle.end_onstring (date)The cycle's last day.
work_stages[][object]Opt In. The teamspace's work stages. Use their gids to set a ticket's work stage.
work_stages[].gidstringGlobally unique identifier of the resource, as a string.
work_stages[].resource_typestringThe base type of this resource.
work_stages[].namestringThe name of the work stage.
work_stages[].categorystringThe category of the work stage.
Click to show all enum values
  • canceled
  • completed
  • in_progress
  • not_started
  • unplanned
labels[][object]Opt In. The teamspace's labels that aren't archived. Use their gids to label the teamspace's tickets.
labels[].gidstringGlobally unique identifier of the resource, as a string.
labels[].resource_typestringThe base type of this resource.
labels[].namestringThe name of the label.
labels[].colorstringThe color of the label. Defaults to none.

Example JSON for CommandTeamspace:

{
  "gid": "12345",
  "resource_type": "command_teamspace",
  "name": "Platform",
  "is_archived": false,
  "description": "Everything the platform team is working on.",
  "html_description": "<body>Everything the platform team is working on.</body>",
  "ticket_prefix": "CODE",
  "workspace": {
    "gid": "12345",
    "resource_type": "workspace",
    "name": "My Company Workspace"
  },
  "owner": {
    "gid": "12345",
    "resource_type": "user",
    "name": "Greg Sanchez"
  },
  "created_at": "2012-02-22T02:06:58.147Z",
  "modified_at": "2012-02-22T02:06:58.147Z",
  "permalink_url": "https://app.asana.com/1/12345/dev/space/67890",
  "cycle_length_weeks": 2,
  "cycle_start_on": "2026-11-02",
  "current_cycle": {
    "start_on": "2026-11-02",
    "end_on": "2026-11-15"
  },
  "work_stages": [
    {
      "gid": "12345",
      "resource_type": "command_work_stage",
      "name": "In review",
      "category": "in_progress"
    }
  ],
  "labels": [
    {
      "gid": "12345",
      "resource_type": "command_label",
      "name": "Bug bash",
      "color": "blue"
    }
  ]
}