{"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/open-data:visier-profile-management/profile-management-get-all-profiles":{"get":{"operationId":"open_data_visier_profile_management_profile_management_get_all_profiles","summary":"Retrieve a list of all profiles","description":"GET /v1/admin/profiles","tags":["open-data"],"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/open-data:visier-profile-management/profile-management-get-analytic-profiles":{"get":{"operationId":"open_data_visier_profile_management_profile_management_get_analytic_profiles","summary":"Retrieve a list of analytic tenant profiles","description":"GET /v1/admin/profiles/accessible-tenants","tags":["open-data"],"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/open-data:visier-profile-management/profile-management-get-analytic-profile-detail":{"get":{"operationId":"open_data_visier_profile_management_profile_management_get_analytic_profile_detail","summary":"Retrieve the details of an analytic tenant profile","description":"GET /v1/admin/profiles/accessible-tenants/{profileId}","tags":["open-data"],"parameters":[{"name":"profileId","in":"query","required":true,"description":"The ID of the profile to retrieve details for.","schema":{"type":"string","description":"The ID of the profile to retrieve details 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/open-data:visier-profile-management/profile-management-assign-analytic-profile":{"post":{"operationId":"open_data_visier_profile_management_profile_management_assign_analytic_profile","summary":"Assign an analytic tenant profile to administrating tenant users","description":"PUT /v1/admin/profiles/accessible-tenants/{profileId}/assign","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["profileId","body"],"properties":{"profileId":{"type":"string","description":"The ID of the profile to assign."},"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/open-data:visier-profile-management/profile-management-remove-analytic-profile":{"post":{"operationId":"open_data_visier_profile_management_profile_management_remove_analytic_profile","summary":"Remove an analytic tenant profile from administrating tenant users","description":"DELETE /v1/admin/profiles/accessible-tenants/{profileId}/remove","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["profileId","body"],"properties":{"profileId":{"type":"string","description":"The ID of the profile to remove."},"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/open-data:visier-profile-management/profile-management-get-profile-detail":{"get":{"operationId":"open_data_visier_profile_management_profile_management_get_profile_detail","summary":"Retrieve the details of a profile","description":"GET /v1/admin/profiles/{profileId}","tags":["open-data"],"parameters":[{"name":"profileId","in":"query","required":true,"description":"The ID of the profile to retrieve details for.","schema":{"type":"string","description":"The ID of the profile to retrieve details 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/open-data:visier-profile-management/profile-management-assign-profile":{"post":{"operationId":"open_data_visier_profile_management_profile_management_assign_profile","summary":"Assign a profile to a list of users","description":"PUT /v1/admin/profiles/{profileId}/assign","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["profileId","body"],"properties":{"profileId":{"type":"string","description":"The ID of the profile to assign to a list of users."},"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/open-data:visier-profile-management/profile-management-remove-profile":{"post":{"operationId":"open_data_visier_profile_management_profile_management_remove_profile","summary":"Remove a profile from a list of users","description":"DELETE /v1/admin/profiles/{profileId}/remove","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["profileId","body"],"properties":{"profileId":{"type":"string","description":"The ID of the profile to remove to a list of users."},"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/open-data:visier-profile-management/profile-management-get-analytic-user-profile":{"get":{"operationId":"open_data_visier_profile_management_profile_management_get_analytic_user_profile","summary":"Retrieve an administrating tenant user's analytic tenant profiles","description":"GET /v1/admin/users/{userId}/accessible-tenant-profiles","tags":["open-data"],"parameters":[{"name":"userId","in":"query","required":true,"description":"The ID of the user you want to retrieve.","schema":{"type":"string","description":"The ID of the user 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/open-data:visier-profile-management/profile-management-get-user-profile":{"get":{"operationId":"open_data_visier_profile_management_profile_management_get_user_profile","summary":"Retrieve a user's profiles","description":"GET /v1/admin/users/{userId}/profiles","tags":["open-data"],"parameters":[{"name":"userId","in":"query","required":true,"description":"The ID of the user you want to retrieve.","schema":{"type":"string","description":"The ID of the user 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"}}},"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"}}}}}}}