Projects
Projects
Create Host Enrollment
Enroll one managed Collector host and return its runtime credential and OpAMP URL.
Policies that reference LOGFIRE_TOKEN also receive a dedicated ingest credential. Those policies require project:write_token in addition to the Fleet enrollment scope.
post/v1/projects/{project_id}/fleet/host-enrollments/
Request
- Base URLhttps://logfire-api.pydantic.dev/api
- AuthOAuth 2Authorization codeapi/oauth/authorizeToken URL/api/oauth/tokenScopesproject:enroll_fleet
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring uuid required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.