Skip to content

GPT-powered app analysis

GET
/projects/{id}/analysis
curl --request GET \
--url https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/analysis \
--header 'Authorization: Bearer <token>'

Returns the GPT analysis stored on the project row. Returns 200 with status=“no_analysis” when not yet generated so the portal can show “Not available” instead of treating a 404 as “aligned”.

id
required
string format: uuid

Project UUID

Analysis payload

Media type application/json
object
project_id
required
string format: uuid
status
required
string
Allowed values: available no_analysis
analysis
object | null
analyzed_at
string | null format: date-time
model
string | null
hint
string | null

Invalid request

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number

Not authenticated

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number
reconnect

True if re-linking GitHub may fix the issue

boolean

Forbidden

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number