{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:hive/workspace-list-all-workspaces":{"get":{"operationId":"analytics_hive_workspace_list_all_workspaces","summary":"Get workspaces","description":"GET /workspaces","tags":["analytics"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-chat-groups":{"get":{"operationId":"analytics_hive_workspace_get_chat_groups","summary":"Get groups","description":"GET /workspaces/{workspaceId}/groups","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"ID of the workspace","schema":{"type":"string","description":"ID of the workspace"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspacesworkspaceidactivity-feeds":{"post":{"operationId":"analytics_hive_workspacesworkspaceidactivity_feeds","summary":"Create activity feed","description":"POST /workspaces/{workspaceId}/activity-feeds","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"workspaceId":{"type":"string","description":"ID of the workspace"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-get-user-by-id":{"get":{"operationId":"analytics_hive_user_get_user_by_id","summary":"Get user","description":"GET /users/{userId}","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User ID","schema":{"type":"string","description":"User ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-update-user":{"post":{"operationId":"analytics_hive_user_update_user","summary":"Update user","description":"PUT /users/{userId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId"],"properties":{"userId":{"type":"string","description":"User ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-list-by-email":{"get":{"operationId":"analytics_hive_user_list_by_email","summary":"Get users","description":"GET /users","tags":["analytics"],"parameters":[{"name":"email","in":"query","required":false,"description":"Email address to search by","schema":{"type":"string","description":"Email address to search by"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-get-workspace-users":{"get":{"operationId":"analytics_hive_user_get_workspace_users","summary":"Get workspace users","description":"GET /workspaces/{workspaceId}/users","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"ID of the workspace","schema":{"type":"string","description":"ID of the workspace"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-invite-new-user":{"post":{"operationId":"analytics_hive_user_invite_new_user","summary":"Invite user","description":"POST /workspaces/{workspaceId}/users","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-remove-from-workspace":{"post":{"operationId":"analytics_hive_user_remove_from_workspace","summary":"Remove user from workspace","description":"DELETE /workspaces/{workspaceId}/users","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-list-external-users":{"get":{"operationId":"analytics_hive_user_list_external_users","summary":"Get workspace external users","description":"GET /workspaces/{workspaceId}/external-users","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"ID of the workspace","schema":{"type":"string","description":"ID of the workspace"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-get-details":{"get":{"operationId":"analytics_hive_action_get_details","summary":"Get action","description":"GET /actions/{actionId}","tags":["analytics"],"parameters":[{"name":"actionId","in":"query","required":true,"description":"The id of the action","schema":{"type":"string","description":"The id of the action"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-update-action-by-id":{"post":{"operationId":"analytics_hive_action_update_action_by_id","summary":"Update action","description":"PUT /actions/{actionId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["actionId"],"properties":{"actionId":{"type":"string","description":"The id of the action"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-remove-by-id":{"post":{"operationId":"analytics_hive_action_remove_by_id","summary":"Delete action","description":"DELETE /actions/{actionId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["actionId"],"properties":{"actionId":{"type":"string","description":"The id of the action"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-actions":{"get":{"operationId":"analytics_hive_workspace_get_actions","summary":"Get actions","description":"GET /workspaces/{workspaceId}/actions","tags":["analytics"],"parameters":[{"name":"projectId","in":"query","required":false,"description":"An optional project ID to get actions from. By default, all actions will be returned regardless of what project they belong to.","schema":{"type":"string","description":"An optional project ID to get actions from. By default, all actions will be returned regardless of what project they belong to."}},{"name":"sortBy","in":"query","required":false,"description":"Sort results by an Action Object field (for example, `sortBy=title asc`)","schema":{"type":"string","default":"fieldName asc","description":"Sort results by an Action Object field (for example, `sortBy=title asc`)"}},{"name":"workspaceId","in":"query","required":true,"description":"ID of the workspace","schema":{"type":"string","description":"ID of the workspace"}},{"name":"limit","in":"query","required":false,"description":"default = 100; min = 1; max = 100","schema":{"type":"string","default":"100","description":"default = 100; min = 1; max = 100"}},{"name":"filters","in":"query","required":false,"description":"Optional fields to filter by. Filters expects a structure like \"filters[fieldName]=value\". For example, if you wanted to filter to just…","schema":{"type":"string","description":"Optional fields to filter by. Filters expects a structure like \"filters[fieldName]=value\". For example, if you wanted to filter to just…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-list-actions":{"post":{"operationId":"analytics_hive_action_list_actions","summary":"Create action","description":"POST /actions/create","tags":["analytics"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-get-comments":{"get":{"operationId":"analytics_hive_action_get_comments","summary":"Get action comments","description":"GET /actions/{actionId}/comments","tags":["analytics"],"parameters":[{"name":"actionId","in":"query","required":true,"description":"The id of the action","schema":{"type":"string","description":"The id of the action"}},{"name":"limit","in":"query","required":false,"description":"Number of comments","schema":{"type":"integer","default":200,"description":"Number of comments"}},{"name":"sortBy","in":"query","required":false,"description":"You can change to e.g. createdAt asc","schema":{"type":"string","default":"createdAt+desc","description":"You can change to e.g. createdAt asc"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-create-comment":{"post":{"operationId":"analytics_hive_action_create_comment","summary":"Create action comment","description":"POST /actions/{actionId}/comments","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["actionId"],"properties":{"actionId":{"type":"string","description":"The id of the action"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-get-attachments":{"get":{"operationId":"analytics_hive_action_get_attachments","summary":"Get action attachments","description":"GET /actions/{actionId}/attachments","tags":["analytics"],"parameters":[{"name":"actionId","in":"query","required":true,"description":"The ID of the action.","schema":{"type":"string","description":"The ID of the action."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-attach-file":{"post":{"operationId":"analytics_hive_action_attach_file","summary":"Create action attachment","description":"POST /actions/{actionId}/attachments","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["actionId"],"properties":{"actionId":{"type":"string","description":"The ID of the action."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-get-attachment-by-id":{"get":{"operationId":"analytics_hive_action_get_attachment_by_id","summary":"Get attachment by attachment ID","description":"GET /actions/{actionId}/attachments/{attachmentId}","tags":["analytics"],"parameters":[{"name":"actionId","in":"query","required":true,"description":"The ID of the action.","schema":{"type":"string","description":"The ID of the action."}},{"name":"attachmentId","in":"query","required":true,"description":"The ID of the file attachment.","schema":{"type":"string","description":"The ID of the file attachment."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-apply-template":{"post":{"operationId":"analytics_hive_action_apply_template","summary":"Apply action template","description":"POST /actions/{actionId}/apply-template","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["actionId"],"properties":{"actionId":{"type":"string","description":"Id of the action"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-action-templates":{"get":{"operationId":"analytics_hive_workspace_get_action_templates","summary":"Get action templates","description":"GET /workspaces/{workspaceId}/actiontemplates","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"ID of the workspace","schema":{"type":"string","description":"ID of the workspace"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/action-get-action-history":{"get":{"operationId":"analytics_hive_action_get_action_history","summary":"Get action history","description":"GET /actions/{actionId}/action-history","tags":["analytics"],"parameters":[{"name":"actionId","in":"query","required":true,"description":"The id of the action","schema":{"type":"string","description":"The id of the action"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/message-create-new-message":{"post":{"operationId":"analytics_hive_message_create_new_message","summary":"Create message","description":"POST /messages/create","tags":["analytics"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-get-by-id":{"get":{"operationId":"analytics_hive_project_get_by_id","summary":"Get project","description":"GET /projects/{projectId}","tags":["analytics"],"parameters":[{"name":"projectId","in":"query","required":true,"description":"ID of the project to update","schema":{"type":"string","description":"ID of the project to update"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-update-by-id":{"post":{"operationId":"analytics_hive_project_update_by_id","summary":"Update project","description":"PUT /projects/{projectId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId"],"properties":{"projectId":{"type":"string","description":"ID of the project to update"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-remove-by-id":{"post":{"operationId":"analytics_hive_project_remove_by_id","summary":"Delete project","description":"DELETE /projects/{projectId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId"],"properties":{"projectId":{"type":"string","description":"ID of the project to update"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-list-for-workspace":{"get":{"operationId":"analytics_hive_project_list_for_workspace","summary":"Get projects","description":"GET /workspaces/{workspaceId}/projects","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"ID of the workspace","schema":{"type":"string","description":"ID of the workspace"}},{"name":"sortBy","in":"query","required":false,"description":"Sort results by an Action Object field (for example, `sortBy=title+asc`)","schema":{"type":"string","default":"fieldName+asc","description":"Sort results by an Action Object field (for example, `sortBy=title+asc`)"}},{"name":"filters","in":"query","required":false,"description":"Optional fields to filter by. Filters expect a structure like \"filters[fieldName]=value\". For example, if you want to filter to just get…","schema":{"type":"string","description":"Optional fields to filter by. Filters expect a structure like \"filters[fieldName]=value\". For example, if you want to filter to just get…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-create-new-project":{"post":{"operationId":"analytics_hive_project_create_new_project","summary":"Create project","description":"POST /projects","tags":["analytics"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-add-custom-field":{"post":{"operationId":"analytics_hive_project_add_custom_field","summary":"Create project custom field","description":"POST /projects/{projectId}/project-custom-field","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId"],"properties":{"projectId":{"type":"string","description":"ID of the project to add a custom field to"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-update-custom-field":{"post":{"operationId":"analytics_hive_project_update_custom_field","summary":"Update project custom field","description":"PUT /projects/{projectId}/project-custom-field/{customFieldId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","customFieldId"],"properties":{"projectId":{"type":"string","description":"ID of the project to add a custom field to"},"customFieldId":{"type":"string","description":"ID of the custom field to update"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-set-status":{"post":{"operationId":"analytics_hive_project_set_status","summary":"Set project status","description":"POST /projects/{projectId}/project-status","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId"],"properties":{"projectId":{"type":"string","description":"ID of the project"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-get-statuses":{"get":{"operationId":"analytics_hive_project_get_statuses","summary":"Get project statuses","description":"GET /workspaces/{workspaceId}/project-statuses","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"ID of the workspace","schema":{"type":"string","description":"ID of the workspace"}},{"name":"first","in":"query","required":false,"description":"Get first n items","schema":{"type":"integer","default":200,"description":"Get first n items"}},{"name":"last","in":"query","required":false,"description":"Get last n items","schema":{"type":"integer","default":200,"description":"Get last n items"}},{"name":"before","in":"query","required":false,"description":"document ID to query documents before it","schema":{"type":"string","description":"document ID to query documents before it"}},{"name":"after","in":"query","required":false,"description":"document ID to query documents after it","schema":{"type":"string","description":"document ID to query documents after it"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/resource-assignment-get-by-id":{"get":{"operationId":"analytics_hive_resource_assignment_get_by_id","summary":"Get resource assignment","description":"GET /resource-assignments/{resourceAssignmentId}","tags":["analytics"],"parameters":[{"name":"resourceAssignmentId","in":"query","required":true,"description":"ID of the resourceAssignment to update","schema":{"type":"string","description":"ID of the resourceAssignment to update"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/resource-assignment-update-assignment-by-id":{"post":{"operationId":"analytics_hive_resource_assignment_update_assignment_by_id","summary":"Update resource assignment","description":"PUT /resource-assignments/{resourceAssignmentId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resourceAssignmentId"],"properties":{"resourceAssignmentId":{"type":"string","description":"ID of the resourceAssignment"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/resource-assignment-remove-by-id":{"post":{"operationId":"analytics_hive_resource_assignment_remove_by_id","summary":"Delete resource assignment","description":"DELETE /resource-assignments/{resourceAssignmentId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resourceAssignmentId"],"properties":{"resourceAssignmentId":{"type":"string","description":"ID of the user for the resourcing"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-list-resource-assignments":{"get":{"operationId":"analytics_hive_workspace_list_resource_assignments","summary":"Get resource assignments","description":"GET /workspaces/{workspaceId}/resource-assignments","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"ID of the workspace","schema":{"type":"string","description":"ID of the workspace"}},{"name":"first","in":"query","required":false,"description":"Get first n items","schema":{"type":"integer","default":200,"description":"Get first n items"}},{"name":"last","in":"query","required":false,"description":"Get last n items","schema":{"type":"integer","default":200,"description":"Get last n items"}},{"name":"before","in":"query","required":false,"description":"document ID to query documents before it","schema":{"type":"string","description":"document ID to query documents before it"}},{"name":"after","in":"query","required":false,"description":"document ID to query documents after it","schema":{"type":"string","description":"document ID to query documents after it"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/resource-assignment-create-new-assignment":{"post":{"operationId":"analytics_hive_resource_assignment_create_new_assignment","summary":"Create resource assignments","description":"POST /resource-assignments","tags":["analytics"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-custom-tags":{"get":{"operationId":"analytics_hive_workspace_get_custom_tags","summary":"Get custom tags","description":"GET /workspaces/{workspaceId}/custom-tags","tags":["analytics"],"parameters":[{"name":"type","in":"query","required":true,"description":"Type of custom tags you are trying to access. Can be either \"user\" or \"project\"","schema":{"type":"string","description":"Type of custom tags you are trying to access. Can be either \"user\" or \"project\""}},{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-create-custom-tag":{"post":{"operationId":"analytics_hive_workspace_create_custom_tag","summary":"Create custom tag","description":"POST /workspaces/{workspaceId}/custom-tags","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-custom-tag":{"get":{"operationId":"analytics_hive_workspace_get_custom_tag","summary":"Get custom tag","description":"GET /workspaces/{workspaceId}/custom-tags/{customTagId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"customTagId","in":"query","required":true,"description":"Tag ID","schema":{"type":"string","description":"Tag ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-update-custom-tag":{"post":{"operationId":"analytics_hive_workspace_update_custom_tag","summary":"Update custom tag","description":"PUT /workspaces/{workspaceId}/custom-tags/{customTagId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","customTagId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"customTagId":{"type":"string","description":"Custom tag ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-delete-custom-tag":{"post":{"operationId":"analytics_hive_workspace_delete_custom_tag","summary":"Delete custom tag","description":"DELETE /workspaces/{workspaceId}/custom-tags/{customTagId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","customTagId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"customTagId":{"type":"string","description":"Tag ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-get-user-tags":{"get":{"operationId":"analytics_hive_user_get_user_tags","summary":"Get user tags","description":"GET /workspaces/{workspaceId}/users/{userId}/user-tags","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"userId","in":"query","required":true,"description":"User ID","schema":{"type":"string","description":"User ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-get-user-tag":{"get":{"operationId":"analytics_hive_user_get_user_tag","summary":"Get user tag","description":"GET /workspaces/{workspaceId}/users/{userId}/user-tags/{userTagId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"userId","in":"query","required":true,"description":"ID of the user","schema":{"type":"string","description":"ID of the user"}},{"name":"userTagId","in":"query","required":true,"description":"ID of the user tag","schema":{"type":"string","description":"ID of the user tag"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-update-tag":{"post":{"operationId":"analytics_hive_user_update_tag","summary":"Update user tag","description":"PUT /workspaces/{workspaceId}/users/{userId}/user-tags/{userTagId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","userId","userTagId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"userId":{"type":"string","description":"ID of user to update"},"userTagId":{"type":"string","description":"ID of tag to set on the user"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-get-tags":{"get":{"operationId":"analytics_hive_project_get_tags","summary":"Get project tags","description":"GET /workspaces/{workspaceId}/projects/{projectId}/project-tags","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"projectId","in":"query","required":true,"description":"Project ID to get tags for","schema":{"type":"string","description":"Project ID to get tags for"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-get-tag-by-id":{"get":{"operationId":"analytics_hive_project_get_tag_by_id","summary":"Get project tag","description":"GET /workspaces/{workspaceId}/projects/{projectId}/project-tags/{projectTagId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"projectId","in":"query","required":true,"description":"Project ID that you are trying to access project tag for","schema":{"type":"string","description":"Project ID that you are trying to access project tag for"}},{"name":"projectTagId","in":"query","required":true,"description":"ID of the project tag","schema":{"type":"string","description":"ID of the project tag"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-update-tag":{"post":{"operationId":"analytics_hive_project_update_tag","summary":"Update project tag","description":"PUT /workspaces/{workspaceId}/projects/{projectId}/project-tags/{projectTagId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","projectId","projectTagId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"projectId":{"type":"string","description":"Project ID to update the tag value on"},"projectTagId":{"type":"string","description":"Project tag ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-list-role-tags":{"get":{"operationId":"analytics_hive_workspace_list_role_tags","summary":"Get role tags","description":"GET /workspaces/{workspaceId}/role-tags","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-create-role-tag":{"post":{"operationId":"analytics_hive_workspace_create_role_tag","summary":"Create role tag","description":"POST /workspaces/{workspaceId}/role-tags","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-update-role-tag":{"post":{"operationId":"analytics_hive_workspace_update_role_tag","summary":"Update role tag","description":"PUT /workspaces/{workspaceId}/role-tags/{roleTagId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","roleTagId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"roleTagId":{"type":"string","description":"Role Tag ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-remove-role-tag":{"post":{"operationId":"analytics_hive_workspace_remove_role_tag","summary":"Delete role tag","description":"DELETE /workspaces/{workspaceId}/role-tags/{roleTagId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","roleTagId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"roleTagId":{"type":"string","description":"Role Tag ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-get-user-role-tag":{"get":{"operationId":"analytics_hive_user_get_user_role_tag","summary":"Get user role tag","description":"GET /workspaces/{workspaceId}/users/{userId}/role-tags","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"userId","in":"query","required":true,"description":"User ID","schema":{"type":"string","description":"User ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-update-role-tag":{"post":{"operationId":"analytics_hive_user_update_role_tag","summary":"Update user role tag","description":"PUT /workspaces/{workspaceId}/users/{userId}/role-tags/{roleTagId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","userId","roleTagId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"userId":{"type":"string","description":"User ID"},"roleTagId":{"type":"string","description":"Role tag ID to set on the user"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-get-user-tag-by-workspace":{"get":{"operationId":"analytics_hive_user_get_user_tag_by_workspace","summary":"Get user setting by userId","description":"GET /workspaces/{workspaceId}/user-settings/{userId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"userId","in":"query","required":true,"description":"User ID","schema":{"type":"string","description":"User ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/user-update-user-settings":{"post":{"operationId":"analytics_hive_user_update_user_settings","summary":"Update user setting","description":"PUT /workspaces/{workspaceId}/user-settings/{userId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","userId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"userId":{"type":"string","description":"User ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/team-get-all":{"get":{"operationId":"analytics_hive_team_get_all","summary":"Get Teams","description":"GET /workspaces/{workspaceId}/teams","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/team-add-new-team":{"post":{"operationId":"analytics_hive_team_add_new_team","summary":"Create team","description":"POST /teams","tags":["analytics"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/team-update-team-by-id":{"post":{"operationId":"analytics_hive_team_update_team_by_id","summary":"Update Team","description":"PUT /teams/{teamId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/team-delete-team":{"post":{"operationId":"analytics_hive_team_delete_team","summary":"Delete Team","description":"DELETE /teams/{teamId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/team-add-members":{"post":{"operationId":"analytics_hive_team_add_members","summary":"Add members","description":"POST /teams/{teamId}/add-members","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string","description":"Team id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/team-remove-members":{"post":{"operationId":"analytics_hive_team_remove_members","summary":"Remove members","description":"POST /teams/{teamId}/remove-members","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string","description":"Team id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-label-role-tags":{"get":{"operationId":"analytics_hive_workspace_get_label_role_tags","summary":"Get label","description":"GET /workspaces/{workspaceId}/labels/{labelId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"labelId","in":"query","required":true,"description":"The ID of the Label you want to retrieve","schema":{"type":"string","description":"The ID of the Label you want to retrieve"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-update-label":{"post":{"operationId":"analytics_hive_workspace_update_label","summary":"Update label","description":"PUT /workspaces/{workspaceId}/labels/{labelId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","labelId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"labelId":{"type":"string","description":"Label ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-delete-label":{"post":{"operationId":"analytics_hive_workspace_delete_label","summary":"Delete label","description":"DELETE /workspaces/{workspaceId}/labels/{labelId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","labelId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"labelId":{"type":"string","description":"Label ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-all-labels":{"get":{"operationId":"analytics_hive_workspace_get_all_labels","summary":"Get labels","description":"GET /workspaces/{workspaceId}/labels","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID","schema":{"type":"string","description":"Workspace ID"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0}},{"name":"sortBy","in":"query","required":false,"description":"Allowed values [name, createdAt]","schema":{"type":"string","default":"name","description":"Allowed values [name, createdAt]"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-create-label":{"post":{"operationId":"analytics_hive_workspace_create_label","summary":"Create label","description":"POST /workspaces/{workspaceId}/labels","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-custom-field":{"get":{"operationId":"analytics_hive_workspace_get_custom_field","summary":"Get custom field","description":"GET /workspaces/{workspaceId}/custom-fields/{customFieldId}","tags":["analytics"],"parameters":[{"name":"customFieldId","in":"query","required":true,"description":"Id of the custom field","schema":{"type":"string","description":"Id of the custom field"}},{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID you wish to see custom fields for","schema":{"type":"string","description":"Workspace ID you wish to see custom fields for"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-get-custom-fields":{"get":{"operationId":"analytics_hive_workspace_get_custom_fields","summary":"Get custom fields","description":"GET /workspaces/{workspaceId}/custom-fields","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"Workspace ID you wish to see custom fields for","schema":{"type":"string","description":"Workspace ID you wish to see custom fields for"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/workspace-create-custom-field":{"post":{"operationId":"analytics_hive_workspace_create_custom_field","summary":"Create custom field","description":"POST /workspaces/{workspaceId}/custom-fields","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"workspaceId":{"type":"string","description":"Workspace ID you wish to see custom fields for"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-get-status":{"get":{"operationId":"analytics_hive_project_get_status","summary":"Get status","description":"GET /project-statuses/{projectStatusId}","tags":["analytics"],"parameters":[{"name":"projectStatusId","in":"query","required":true,"description":"Id of the status","schema":{"type":"string","description":"Id of the status"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:hive/project-create-status":{"post":{"operationId":"analytics_hive_project_create_status","summary":"Create status","description":"POST /project-statuses","tags":["analytics"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/webhook-create-handler":{"post":{"operationId":"analytics_hive_webhook_create_handler","summary":"Create webhook","description":"POST /webhooks","tags":["analytics"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:hive/webhook-remove-handler":{"post":{"operationId":"analytics_hive_webhook_remove_handler","summary":"Delete webhook","description":"DELETE /webhooks/{webhookId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["webhookId"],"properties":{"webhookId":{"type":"string","description":"ID of the Webhook to delete"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}