curl --request POST \
--url https://local.withsutro.com/projects/{projectId}/analysis \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-sutro-api-client: <api-key>' \
--data '
{
"modes": [
"design_system"
]
}
'curl --request POST \
--url https://local.withsutro.com/projects/{projectId}/analysis \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-sutro-api-client: <api-key>' \
--data '
{
"modes": [
"design_system"
]
}
'Builder authentication and authorization
A unique identifier for the API Client making a request
The set of analysis modes to run
The analysis modes to run when generating specifications.
One or more of the following can be selected:
design_system: extract design tokens, components, spacing, typographyinformation_architecture: extract pages, screens, structureuser_flows: extract user flows and journeysdesign_system, information_architecture, user_flows Specification generation started
Was this page helpful?