Get the fields applicable to a case
- Base URL
-
https://{kibana_url}
- GET /api/cases/fields
- GET /s/{space_id}/api/cases/fields
Refer to Spaces for more information.
Returns the fields you can write to a case's extended_fields when creating a case for the given owner. Includes the owner's global (library-wide) fields and, when templateId is supplied, that template's fields. Migrated legacy custom fields appear as global fields. Requires the Cases feature to be enabled in the space.
Responses
Indicates a successful call.
-
fieldsobjectrequired -
controlstringrequired -
The UI control for the field, such as
INPUT_TEXT,INPUT_NUMBER,SELECT_BASIC,TOGGLE, orMARKDOWN. -
displayOnlybooleanrequired -
When
truethe field is display-only (for example aMARKDOWNblock): it is returned so the full form shape is visible, but it holds no value and itskeycannot be written toextended_fields.
The request is invalid, for example when the templateId does not exist for the owner or its definition is invalid.
Authorization information is missing or invalid.