Get the current user
GET
The key's owner and the teams it can reach. A team's id is the orgId other calls take.
apiKeyheader
AuthorizationBearer <hmk_…>An API key from the dashboard or homemade api-key create.
You and your teams.
application/json- response
organizations*array<>session*|The browser session; null for an API key.
sshHostSuffix*stringuser*curl -X GET 'https://api.homemade.dev/api/me'Example Response
{ "organizations": [ { "createdAt": "2019-08-24T14:15:22Z", "id": "string", "name": "string", "slug": "string", "property1": null, "property2": null } ], "session": { "expiresAt": "2019-08-24T14:15:22Z", "id": "string", "property1": null, "property2": null }, "sshHostSuffix": "string", "user": { "email": "string", "id": "string", "name": "string", "property1": null, "property2": null }}CLI
Install the homemade CLI, sign in, and work with your VMs from a terminal, a script or a coding agent.
Create a project POST
Creates a project from a GitHub repository your team connected (`githubInstallationId` + `githubRepoId`), from a starter (`template`), or empty. A new project starts its first VM on its own; `welcomeVm` says how that went.