Slices

A slice is a bug report in Brie. It contains a summary, description, priority, status, labels, and optionally captured context like screenshots, console logs, and network requests.

Response fields

FieldTypeDescription
idstringUnique slice ID
summarystring | nullShort title
descriptionstring | nullDetailed description
prioritystring | nullLOW, MEDIUM, HIGH, HIGHEST, LOWEST
statusstring | nullCREATED, IN_PROGRESS, COMPLETED, DRAFT, etc.
labelsobject[]Array of { id, text } label objects
isPublicbooleanWhether the slice is publicly shared
createdAtstringISO 8601 timestamp
updatedAtstringISO 8601 timestamp
reporterobject{ id, firstName, lastName } — the user who created the slice
workspaceobject{ id, name } — the workspace the slice belongs to

List slices

GET /v1/slices

Scope: slices:read

ParameterTypeDescription
workspaceIdstringFilter by workspace (required for WST tokens)
spaceIdstringFilter by space
statusstringFilter by status (CREATED, IN_PROGRESS, COMPLETED, DRAFT, REPORTED, etc.)
prioritystringFilter by priority (LOW, MEDIUM, HIGH, HIGHEST, LOWEST)
sortstringSort field: createdAt or updatedAt (default: createdAt)
orderstringSort order: asc or desc (default: desc)
cursorstringPagination cursor from previous response
limitnumberResults per page, 1–100 (default: 25)

Example:

curl "https://api.briehq.com/v1/slices?workspaceId=ws_123&status=CREATED&limit=10" \
  -H "Authorization: Bearer brie_pat_xxx"

Get a slice

GET /v1/slices/:id

Scope: slices:read

Create a slice

POST /v1/slices

Scope: slices:write

FieldTypeRequiredDescription
summarystringNoShort title of the bug (max 125 chars)
descriptionstringNoDetailed description (Markdown supported)
workspaceIdstringNoTarget workspace (required for WST tokens)
spaceIdstringNoTarget space within the workspace
prioritystringNoLOW, MEDIUM, HIGH, HIGHEST, LOWEST
labelsobject[]NoArray of { id: string, text: string } label objects

Example:

curl -X POST https://api.briehq.com/v1/slices \
  -H "Authorization: Bearer brie_pat_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "summary": "Login button broken on Safari",
    "workspaceId": "ws_123",
    "priority": "HIGH",
    "labels": [{ "id": "uuid-1", "text": "safari" }, { "id": "uuid-2", "text": "auth" }]
  }'

Supports idempotency via the Idempotency-Key header — send the same key twice to avoid duplicate slices.

Update a slice

PATCH /v1/slices/:id

Scope: slices:write

FieldTypeDescription
summarystringUpdated title (max 125 chars)
descriptionstringUpdated description
prioritystringUpdated priority
statusstringUpdated status (CREATED, IN_PROGRESS, COMPLETED, DRAFT, etc.)
labelsobject[]Replaces existing labels ({ id: string, text: string } objects)
isPublicbooleanToggle public sharing

Delete a slice

DELETE /v1/slices/:id

Scope: slices:delete

Returns 204 No Content with no response body. This is a soft delete.