Skip to content

Get a project's overview

GET
/projects/{id}/overview
Code sample: Shell / cURL
curl --request GET \
--url https://example.com/api/v1/projects/example/overview \
--header 'Authorization: Bearer <token>'

Bounded aggregate summary for a project’s header (including its business fields), hours by order status, open-ticket count, and total invoiced from attributed invoice lines — plus the client’s unassigned-orders bucket for context. Every aggregate is a single count/sum/groupBy — none scale with the number of orders, tickets, or invoice lines the client has. A kickoff project also carries handoff, the sale summary of its deal: null otherwise or with the sales module off, its amounts, sold rates and activity notes null without deals.view, and its referrer null without commissions access. Requires the projects.view permission.

id
required

Resource identifier (CUID2).

string
>= 1 characters

Resource identifier (CUID2).

The project’s overview.

Media typeapplication/json
object
data
required

Bounded aggregate summary for a project’s header, order hours, and open-ticket/invoiced totals.

object
handoff
required

The sale summary when this is the kickoff project of a deal; null otherwise, or when the sales module is off.

Any of:

The sale summary of the deal whose kickoff project this is.

object
activities
required

The deal’s 20 most recent activities, newest first.

Array<object>
object
id
required
string
note
required
string | null
occurredAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
type
required
string
Allowed values: CALL MEETING EMAIL NOTE
amount
required
number | null
clientId
required
string
clientName
required
string
contract
required
Any of:
object
completedAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
documentId
required
string
id
required
string
title
required
string
dealId
required
string
dealTitle
required
string
estimate
required
Any of:
object
currency
required
string
id
required
string
number
required
string
total
required
number | null
fields

The won deal’s own field values that have a value, read-only. Absent on an older server.

Array<object>

One deal field with a deal’s value for it.

object
definitionId
required

The deal field this value belongs to.

string
hasValue
required

True when the deal holds a value, or at least one checklist item, for the field.

boolean
items
required

The items of a CHECKLIST field, in order; null while it has none and on every other kind.

Any of:
Array<object>
object
done
required
boolean
id
required
string
text
required
string
kind
required

What a deal field holds: a short text, a long text, a link, a day, one option of a list, a yes or no, or a checklist.

string
Allowed values: TEXT MULTILINE URL DATE DROPDOWN CHECKBOX CHECKLIST
name
required
string
options
required

The options of a DROPDOWN field; empty for every other kind.

Array<string>
value
required

The value of every kind but CHECKLIST, null while the field is empty: the text (TEXT, MULTILINE), the address (URL), the day as YYYY-MM-DD (DATE), the chosen option (DROPDOWN), or “true” or “false” (CHECKBOX). Always null on a CHECKLIST field.

string | null
primaryContact
required
Any of:
object
email
required
string
firstName
required
string
id
required
string
lastName
required
string
portalInvitePending
required
boolean
referrer
required

Null without commissions access.

Any of:
object
clientId
required
string
name
required
string
rep
required
Any of:

The person at the referring company who sent a client.

object
contactId
required
string
name
required

The contact’s full name, else its email.

string
soldLines
required
Array<object>
object
amount
required
number | null
description
required
string
id
required
string
quantity
required
number
rate
required
number | null
source
required
string | null
wonAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
hoursByOrderStatus
required

Budgeted hours (Order.totalHours) grouped by order status, not tracked time, over the orders the caller reaches. Null when the caller may not read orders or reaches none of the project’s.

Any of:
Array<object>
object
orderCount
required
integer
>= -9007199254740991 <= 9007199254740991
status
required

Order status: ACTIVE, DEPLETED, CLOSED, ARCHIVED, or PENDING (a portal purchase awaiting Stripe payment confirmation).

string
Allowed values: ACTIVE DEPLETED CLOSED ARCHIVED PENDING
totalHours
required
number
openTicketCount
required

Open tickets of the project the caller reaches. Null when the caller may not read tickets or reaches none of the project’s.

Any of:
integer
>= -9007199254740991 <= 9007199254740991
project
required
object
businessStatus
required
Any of:
object
category
required

Status category: active, paused, or closed.

string
color
required
string
id
required
string
name
required
string
client
required
Any of:
object
id
required
string
name
required
string
code
required
string | null
description
required

Project description as Markdown. Markdown rendering of the stored rich text: mentions appear as @Name links and embeds as plain links to their source URL. The stored HTML is returned alongside in the matching *Html field.

string | null
descriptionHtml
required

The stored sanitized HTML behind description.

string | null
endDate
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
id
required
string
name
required
string
primaryUrl
required
string | null
startDate
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
status
required

Project status. One of: ACTIVE, COMPLETED, ARCHIVED.

string
tags
required
Array<object>
object
id
required
string
name
required
string
type
required
Any of:
object
color
required
string
id
required
string
name
required
string
totalInvoiced
required

Sum of attributed invoice line amounts (derived through order -> primary project) over the invoices the caller reaches. Null when the caller may not read invoices or reaches none of the project’s.

number | null
unassignedClientOrders
required

The same client’s orders the caller reaches with no primary project membership. Zeroed out when the project has no client; null when the caller may not read orders or reaches none of the project’s.

Any of:
object
count
required
integer
>= -9007199254740991 <= 9007199254740991
totalHours
required
number

Example

{
"data": {
"handoff": {
"activities": [
{
"type": "CALL"
}
],
"fields": [
{
"kind": "TEXT"
}
]
},
"hoursByOrderStatus": [
{
"status": "ACTIVE"
}
]
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Not found.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.