Create a field definition
Creates a custom field definition scoped to the current workspace.
Required: key, name, type. Requires ADMIN or OWNER workspace role.
The key must be unique within the workspace, start with a lowercase letter,
and contain only lowercase letters, digits, and underscores (max 64 characters).
Valid type values: text, number, boolean, date, datetime,
select, multiSelect, markdown, fractionalIndex, resourceId.
Authorizations
API key obtained from the Slog dashboard or returned by the signup/invite-redeem
flows. Pass as the slog-api-key header.
Body
Unique identifier within the workspace. Must start with a lowercase letter and contain only lowercase letters, digits, and underscores.
64^[a-z][a-z0-9_]*$"sprint_points"
1"Sprint Points"
text, number, boolean, date, datetime, select, multiSelect, markdown, fractionalIndex, resourceId "number"
"Story-point estimate for sprint planning."
Optional rendering hint for UI clients.
null
Type-specific metadata. For select/multiSelect fields, provide a choices array of allowed string values.
{}Resource types this field applies to.
["task"]Response
Field definition created.