-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathswagger.json
More file actions
1 lines (1 loc) · 187 KB
/
swagger.json
File metadata and controls
1 lines (1 loc) · 187 KB
1
{"swagger":"2.0","info":{"version":"3.0.0","title":"Looker API 3.0 Reference","description":"This document describes the Looker API.\n\nPlease note that this is the 'new' Looker RESTful API. This API uses Looker 'API 3' keys.\nThose keys can be created for Looker users by Looker admins on the admin/user edit page. Such\nkeys will allow a user to autheticate to the API as that user; having that user's permissions.\nAdmins can create 'dummy' accounts specifically for API use, or add keys to real users' accounts.\n\nA Ruby SDK is available to integrate this API into applications. Standard RESTful practices are\nused by the API, so it should be callable by any RESTful client framework - or just using raw\nHTTP requests. Additionally, the 'api-docs' page served by the Looker instance includes 'Try it out!'\nbuttons for each API method so that anyone logged in with an API3 key can call the API directly from the\ndocumentation page.\n\nFuture releases of Looker will expand this API release-by-release to securely expose more and more of the core\npower of Looker to API client applications.\n\nThis document does not cover the old Looker Query API. The methods in the 'Query' section below are\nintended to replace that old API. Nonetheless, information about the old API can be found at [Query API](http://www.looker.com/docs/reference/api-and-integration/looker-api-reference) and [Ruby SDK](http://www.looker.com/docs/reference/api-and-integration/looker-ruby-sdk).\n\n","contact":{"name":"Looker Team \u003csupport@looker.com\u003e"},"license":{"name":"EULA","url":"https://looker.buffer.com/eula"}},"basePath":"/api/3.0","consumes":["application/json"],"produces":["application/json"],"host":"looker.buffer.com:19999","schemes":["https"],"tags":[{"name":"ApiAuth","description":"API Authentication"},{"name":"Query","description":"Run and Manage Queries"},{"name":"Look","description":"Run and Manage Looks"},{"name":"Dashboard","description":"Manage Dashboards"},{"name":"User","description":"Manage Users"},{"name":"Role","description":"Manage Roles"},{"name":"RunningQueries","description":"Manage Running Queries"},{"name":"Story","description":"Manage Stories"},{"name":"Space","description":"Manage Spaces"},{"name":"Upload","description":"Manage Upload Tables"},{"name":"Project","description":"Manage Projects"},{"name":"Config","description":"Manage General Configuration"},{"name":"Auth","description":"Manage User Authentication Configuration"},{"name":"SqlQuery","description":"Run and Manage SQL Runner Queries"},{"name":"Connection","description":"Manage Database Connections"},{"name":"ScheduledPlan","description":"Manage Scheduled Plans"}],"paths":{"/user":{"get":{"tags":["User"],"operationId":"me","summary":"Get current user","description":"### Get information about the current user; i.e. the user account currently calling the API.\n","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Current user.","schema":{"$ref":"User"}}}}},"/users":{"get":{"tags":["User"],"operationId":"all_users","summary":"get all users","description":"### Get information about all users.\n","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"},{"name":"page","in":"query","description":"Requested page.","required":false,"type":"integer","format":"int64"},{"name":"per_page","in":"query","description":"Results per page.","required":false,"type":"integer","format":"int64"},{"name":"sorts","in":"query","description":"Fields to sort by.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"All users.","schema":{"type":"array","items":{"$ref":"User"}}}}},"post":{"tags":["User"],"operationId":"create_user","summary":"create a user","description":"### Create a user with the specified information.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"User","required":false,"schema":{"$ref":"User"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"409":{"description":"Resource Already Exists","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"500":{"description":"Server Error","schema":{"$ref":"Error"}},"200":{"description":"Created User","schema":{"$ref":"User"}}}}},"/users/search":{"get":{"tags":["User"],"operationId":"search_users","summary":"search users","description":"### Search users.\n","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"},{"name":"page","in":"query","description":"Requested page.","required":false,"type":"integer","format":"int64"},{"name":"per_page","in":"query","description":"Results per page.","required":false,"type":"integer","format":"int64"},{"name":"sorts","in":"query","description":"Fields to sort by.","required":false,"type":"string"},{"name":"id","in":"query","description":"Match User Id.","required":false,"type":"integer","format":"int64"},{"name":"first_name","in":"query","description":"Match First name.","required":false,"type":"string"},{"name":"last_name","in":"query","description":"Match Last name.","required":false,"type":"string"},{"name":"verified_looker_employee","in":"query","description":"Match Verified Looker employee.","required":false,"type":"boolean"},{"name":"email","in":"query","description":"Match Email Address.","required":false,"type":"string"},{"name":"is_disabled","in":"query","description":"Match Is disabled.","required":false,"type":"boolean"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Matching users.","schema":{"type":"array","items":{"$ref":"User"}}}}}},"/users/search/names/{pattern}":{"get":{"tags":["User"],"operationId":"search_users_names","summary":"search users names","description":"### Search users where first_name OR last_name OR email matches a string.\n\nThe results will be AND'd with any additional search parameters that are (optionally) included.\n","x-looker-status":"beta","parameters":[{"name":"pattern","in":"path","description":"Pattern to match.","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"},{"name":"page","in":"query","description":"Requested page.","required":false,"type":"integer","format":"int64"},{"name":"per_page","in":"query","description":"Results per page.","required":false,"type":"integer","format":"int64"},{"name":"sorts","in":"query","description":"Fields to sort by.","required":false,"type":"string"},{"name":"id","in":"query","description":"Match User Id.","required":false,"type":"integer","format":"int64"},{"name":"first_name","in":"query","description":"Match First name.","required":false,"type":"string"},{"name":"last_name","in":"query","description":"Match Last name.","required":false,"type":"string"},{"name":"verified_looker_employee","in":"query","description":"Match Verified Looker employee.","required":false,"type":"boolean"},{"name":"email","in":"query","description":"Match Email Address.","required":false,"type":"string"},{"name":"is_disabled","in":"query","description":"Match Is disabled.","required":false,"type":"boolean"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Matching users.","schema":{"type":"array","items":{"$ref":"User"}}}}}},"/users/{user_id}":{"get":{"tags":["User"],"operationId":"user","summary":"Get a user","description":"### Get information about the user with a specific id.\n\nIf the caller is an admin or the caller is the user being specified, then full user information will\nbe returned. Otherwise, a minimal 'public' variant of the user information will be returned. This contains\nThe user name and avatar url, but no sensitive information.\n","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"Id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Specified user.","schema":{"$ref":"User"}}}},"delete":{"tags":["User"],"operationId":"delete_user","summary":"delete a user","description":"### Delete the user with a specific id.\n\n**DANGER** this will delete the user and all looks and other information owned by the user.\n","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"Id of user","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"User successfully deleted.","schema":{"type":"string"}}}},"patch":{"tags":["User"],"operationId":"update_user","summary":"update a user","description":"### Update information about the user with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"Id of user","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"User","required":true,"schema":{"$ref":"User"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"New state for specified user.","schema":{"$ref":"User"}}}}},"/users/{user_id}/credentials_email":{"get":{"tags":["User"],"operationId":"user_credentials_email","summary":"get email/password credential","description":"### Email/password login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"email/password credential","schema":{"$ref":"CredentialsEmail"}}}},"post":{"tags":["User"],"operationId":"create_user_credentials_email","summary":"create email/password credential","description":"### Email/password login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"email/password credential","required":false,"schema":{"$ref":"CredentialsEmail"}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"email/password credential","schema":{"$ref":"CredentialsEmail"}}}},"patch":{"tags":["User"],"operationId":"update_user_credentials_email","summary":"update email/password credential","description":"### Email/password login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"email/password credential","required":true,"schema":{"$ref":"CredentialsEmail"}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"email/password credential","schema":{"$ref":"CredentialsEmail"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_email","summary":"delete email/password credential","description":"### Email/password login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/credentials_totp":{"get":{"tags":["User"],"operationId":"user_credentials_totp","summary":"get Two-factor credential","description":"### Two-factor login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Two-factor credential","schema":{"$ref":"CredentialsTotp"}}}},"post":{"tags":["User"],"operationId":"create_user_credentials_totp","summary":"create Two-factor credential","description":"### Two-factor login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"Two-factor credential","required":false,"schema":{"$ref":"CredentialsTotp"}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Two-factor credential","schema":{"$ref":"CredentialsTotp"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_totp","summary":"delete Two-factor credential","description":"### Two-factor login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/credentials_api":{"get":{"tags":["User"],"operationId":"user_credentials_api","summary":"get API credential","description":"### API login information for the specified user. This is for 'API Users' used for the 'old' query API.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"API credential","schema":{"$ref":"CredentialsApi"}}}},"post":{"tags":["User"],"operationId":"create_user_credentials_api","summary":"create API credential","description":"### API login information for the specified user. This is for 'API Users' used for the 'old' query API.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"API credential","required":false,"schema":{"$ref":"CredentialsApi"}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"API credential","schema":{"$ref":"CredentialsApi"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_api","summary":"delete API credential","description":"### API login information for the specified user. This is for 'API Users' used for the 'old' query API.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/credentials_ldap":{"get":{"tags":["User"],"operationId":"user_credentials_ldap","summary":"get LDAP credential","description":"### LDAP login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"LDAP credential","schema":{"$ref":"CredentialsLDAP"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_ldap","summary":"delete LDAP credential","description":"### LDAP login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/credentials_google":{"get":{"tags":["User"],"operationId":"user_credentials_google","summary":"get Google auth credential","description":"### Google authentication login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Google auth credential","schema":{"$ref":"CredentialsGoogle"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_google","summary":"delete Google auth credential","description":"### Google authentication login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/credentials_saml":{"get":{"tags":["User"],"operationId":"user_credentials_saml","summary":"get Saml auth credential","description":"### Saml authentication login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Saml auth credential","schema":{"$ref":"CredentialsSaml"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_saml","summary":"delete Saml auth credential","description":"### Saml authentication login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/credentials_api3/{credentials_api3_id}":{"get":{"tags":["User"],"operationId":"user_credentials_api3","summary":"get API 3 credential","description":"### API 3 login information for the specified user. This is for the newer API keys that can be added for any user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"Id of user","required":true,"type":"integer","format":"int64"},{"name":"credentials_api3_id","in":"path","description":"Id of API 3 credential","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"API 3 credential","schema":{"$ref":"CredentialsApi3"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_api3","summary":"delete API 3 credential","description":"### API 3 login information for the specified user. This is for the newer API keys that can be added for any user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"credentials_api3_id","in":"path","description":"id of API 3 credential","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/credentials_api3":{"get":{"tags":["User"],"operationId":"all_user_credentials_api3s","summary":"get all API 3 credentials","description":"### API 3 login information for the specified user. This is for the newer API keys that can be added for any user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"API 3 credential","schema":{"type":"array","items":{"$ref":"CredentialsApi3"}}}}},"post":{"tags":["User"],"operationId":"create_user_credentials_api3","summary":"create API 3 credential","description":"### API 3 login information for the specified user. This is for the newer API keys that can be added for any user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"API 3 credential","required":false,"schema":{"$ref":"CredentialsApi3"}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"API 3 credential","schema":{"$ref":"CredentialsApi3"}}}}},"/users/{user_id}/credentials_embed/{credentials_embed_id}":{"get":{"tags":["User"],"operationId":"user_credentials_embed","summary":"get Embedding credential","description":"### Embed login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"Id of user","required":true,"type":"integer","format":"int64"},{"name":"credentials_embed_id","in":"path","description":"Id of Embedding credential","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Embedding credential","schema":{"$ref":"CredentialsEmbed"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_embed","summary":"delete Embedding credential","description":"### Embed login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"credentials_embed_id","in":"path","description":"id of Embedding credential","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/credentials_embed":{"get":{"tags":["User"],"operationId":"all_user_credentials_embeds","summary":"get all Embedding credentials","description":"### Embed login information for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Embedding credential","schema":{"type":"array","items":{"$ref":"CredentialsEmbed"}}}}}},"/users/{user_id}/credentials_looker_openid":{"get":{"tags":["User"],"operationId":"user_credentials_looker_openid","summary":"get Looker Openid credential","description":"### Looker Openid login information for the specified user. Used by Looker Analysts.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Looker Openid credential","schema":{"$ref":"CredentialsLookerOpenid"}}}},"delete":{"tags":["User"],"operationId":"delete_user_credentials_looker_openid","summary":"delete Looker Openid credential","description":"### Looker Openid login information for the specified user. Used by Looker Analysts.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/sessions/{session_id}":{"get":{"tags":["User"],"operationId":"user_session","summary":"get Web login session","description":"### Web login session for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"Id of user","required":true,"type":"integer","format":"int64"},{"name":"session_id","in":"path","description":"Id of Web login session","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Web login session","schema":{"$ref":"Session"}}}},"delete":{"tags":["User"],"operationId":"delete_user_session","summary":"delete Web login session","description":"### Web login session for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"session_id","in":"path","description":"id of Web login session","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/sessions":{"get":{"tags":["User"],"operationId":"all_user_sessions","summary":"get all Web login sessions","description":"### Web login session for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Web login session","schema":{"type":"array","items":{"$ref":"Session"}}}}}},"/users/{user_id}/access_filters/{access_filter_id}":{"get":{"tags":["User"],"operationId":"user_access_filter","summary":"get Access filter","description":"### Access filter for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"Id of user","required":true,"type":"integer","format":"int64"},{"name":"access_filter_id","in":"path","description":"Id of Access filter","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Access filter","schema":{"$ref":"AccessFilter"}}}},"patch":{"tags":["User"],"operationId":"update_user_access_filter","summary":"update Access filter","description":"### Access filter for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"access_filter_id","in":"path","description":"id of Access filter","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"Access filter","required":true,"schema":{"$ref":"AccessFilter"}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Access filter","schema":{"$ref":"AccessFilter"}}}},"delete":{"tags":["User"],"operationId":"delete_user_access_filter","summary":"delete Access filter","description":"### Access filter for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"access_filter_id","in":"path","description":"id of Access filter","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/users/{user_id}/access_filters":{"get":{"tags":["User"],"operationId":"all_user_access_filters","summary":"get all Access filters","description":"### Access filter for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Access filter","schema":{"type":"array","items":{"$ref":"AccessFilter"}}}}},"post":{"tags":["User"],"operationId":"create_user_access_filter","summary":"create Access filter","description":"### Access filter for the specified user.","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"Access filter","required":false,"schema":{"$ref":"AccessFilter"}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Access filter","schema":{"$ref":"AccessFilter"}}}}},"/users/{user_id}/credentials_email/password_reset":{"post":{"tags":["User"],"operationId":"create_user_credentials_email_password_reset","summary":"create a email/password credential password reset token","description":"### Create a password reset token.\nThis will create a cryptographically secure random password reset token for the user.\nIf the user already has a password reset token then this invalidates the old token and creates a new one.\nThe token is expressed as the 'password_reset_url' of the user's email/password credential object.\nThis takes an optional 'expires' param to indicate if the new token should be an expiring token.\nTokens that expire are typically used for self-service password resets for existing users.\nInvitiation emails for new users typically are not set to expire.\nThe expire period is always 60 minutes when expires is enabled.\nThis method can be called with an empty body.\n","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"Id of user","required":true,"type":"integer","format":"int64"},{"name":"expires","in":"query","description":"Expiring token.","required":false,"type":"boolean"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"email/password credential","schema":{"$ref":"CredentialsEmail"}}}}},"/users/{user_id}/roles":{"get":{"tags":["User"],"operationId":"user_roles","summary":"Get roles for a user","description":"### Get information about roles of the user with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Roles of user.","schema":{"type":"array","items":{"$ref":"Role"}}}}},"put":{"tags":["User"],"operationId":"set_user_roles","summary":"Set roles for a user","description":"### Set roles of the user with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"user_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"array of roles ids for user","required":true,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Roles of user.","schema":{"type":"array","items":{"$ref":"Role"}}}}}},"/running_queries":{"get":{"tags":["RunningQueries"],"operationId":"all_running_queries","summary":"get all running queries","description":"Get information about all running queries.\n","x-looker-status":"beta","responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Running Queries.","schema":{"type":"array","items":{"$ref":"RunningQueries"}}}}}},"/running_queries/{query_slug}":{"delete":{"tags":["RunningQueries"],"operationId":"kill_query","summary":"Kill a running query","description":"Kill a query with a specific slug.\n","x-looker-status":"beta","parameters":[{"name":"query_slug","in":"path","description":"query slug","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}}}}},"/scheduled_plans/space/{space_id}":{"get":{"tags":["ScheduledPlan"],"operationId":"scheduled_plans_by_space","summary":"get all scheduled plans for a given space for the requesting user","description":"### Get scheduled plans by using a space id for the requesting user","x-looker-status":"undocumented","parameters":[{"name":"space_id","in":"path","description":"Space Id","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan","schema":{"type":"array","items":{"$ref":"ScheduledPlan"}}}}}},"/scheduled_plans/look/{look_id}":{"get":{"tags":["ScheduledPlan"],"operationId":"scheduled_plans_by_look","summary":"get all scheduled plans for a given look for the requesting user","description":"### Get scheduled plans by using a look id for the requesting user","x-looker-status":"undocumented","parameters":[{"name":"look_id","in":"path","description":"Look Id","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan","schema":{"type":"array","items":{"$ref":"ScheduledPlan"}}}}}},"/scheduled_plans/dashboard/{dashboard_id}":{"get":{"tags":["ScheduledPlan"],"operationId":"scheduled_plans_by_dashboard","summary":"get all scheduled plans for a given dashboard for the requesting user","description":"### Get scheduled plans by using a dashboard id for the requesting user","x-looker-status":"undocumented","parameters":[{"name":"dashboard_id","in":"path","description":"Dashboard Id","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan","schema":{"type":"array","items":{"$ref":"ScheduledPlan"}}}}}},"/scheduled_plans/lookml_dashboard/{lookml_dashboard_id}":{"get":{"tags":["ScheduledPlan"],"operationId":"scheduled_plans_by_lookml_dashboard","summary":"get all scheduled plans for a given lookml dashboard for the requesting user","description":"### Get scheduled plans by using a LookML dashboard id for the requesting user","x-looker-status":"undocumented","parameters":[{"name":"lookml_dashboard_id","in":"path","description":"LookML Dashboard Id","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan","schema":{"type":"array","items":{"$ref":"ScheduledPlan"}}}}}},"/scheduled_plans":{"get":{"tags":["ScheduledPlan"],"operationId":"all_scheduled_plans","summary":"get all scheduled plans","description":"### List all scheduled plans which belong to the requesting user","x-looker-status":"undocumented","responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan","schema":{"type":"array","items":{"$ref":"ScheduledPlan"}}}}},"post":{"tags":["ScheduledPlan"],"operationId":"create_scheduled_plan","summary":"create scheduled plan","description":"### Schedule a Look or Dashboard by creating a scheduled plan","x-looker-status":"undocumented","parameters":[{"name":"body","in":"body","description":"scheduled plan","required":false,"schema":{"$ref":"ScheduledPlan"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan","schema":{"$ref":"ScheduledPlan"}}}}},"/scheduled_plans/{scheduled_plan_id}":{"get":{"tags":["ScheduledPlan"],"operationId":"scheduled_plan","summary":"get scheduled plan","description":"### Get information about a scheduled plan","x-looker-status":"undocumented","parameters":[{"name":"scheduled_plan_id","in":"path","description":"Scheduled Plan Id","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan","schema":{"$ref":"ScheduledPlan"}}}},"patch":{"tags":["ScheduledPlan"],"operationId":"update_scheduled_plan","summary":"update scheduled plan","description":"### Update the scheduled plan with the specified id","x-looker-status":"undocumented","parameters":[{"name":"scheduled_plan_id","in":"path","description":"Scheduled Plan Id","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"scheduled plan","required":true,"schema":{"$ref":"ScheduledPlan"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan","schema":{"$ref":"ScheduledPlan"}}}},"delete":{"tags":["ScheduledPlan"],"operationId":"delete_scheduled_plan","summary":"delete scheduled plan","description":"### Delete the scheduled plan with the specified id","x-looker-status":"undocumented","parameters":[{"name":"scheduled_plan_id","in":"path","description":"Scheduled Plan Id","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/dashboards":{"get":{"tags":["Dashboard"],"operationId":"all_dashboards","summary":"get all dashboards","description":"Get information about all dashboards.","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fieds.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"dashboards","schema":{"type":"array","items":{"$ref":"DashboardBase"}}}}},"post":{"tags":["Dashboard"],"operationId":"create_dashboard","summary":"create dashboard","description":"### Create a dashboard with specified information.","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"dashboard","required":false,"schema":{"$ref":"Dashboard"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"dashboard","schema":{"$ref":"Dashboard"}}}}},"/dashboards/{dashboard_id}":{"delete":{"tags":["Dashboard"],"operationId":"delete_dashboard","summary":"delete dashboard","description":"### Delete the dashboard with a specific id.","x-looker-status":"beta","parameters":[{"name":"dashboard_id","in":"path","description":"Id of dashboard","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}},"patch":{"tags":["Dashboard"],"operationId":"update_dashboard","summary":"update dashboard","description":"### Update the dashboard with a specific id.","x-looker-status":"beta","parameters":[{"name":"dashboard_id","in":"path","description":"Id of dashboard","required":true,"type":"string"},{"name":"body","in":"body","description":"dashboard","required":true,"schema":{"$ref":"Dashboard"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"dashboard","schema":{"$ref":"Dashboard"}}}},"get":{"tags":["Dashboard"],"operationId":"dashboard","summary":"get dashboard","description":"### Get information about the dashboard with a specific id.","x-looker-status":"beta","parameters":[{"name":"dashboard_id","in":"path","description":"Id of dashboard","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"dashboard","schema":{"$ref":"Dashboard"}}}}},"/dashboards/move_plan":{"get":{"tags":["Dashboard"],"operationId":"dashboards_move_plan","summary":"plan for moving dashboards to space","description":"### Plan for moving dashboards with specified ids.","x-looker-status":"beta","parameters":[{"name":"space_id","in":"query","description":"Destination space id.","required":false,"type":"string"},{"name":"dashboard_ids","in":"query","description":"Dashboard ids to move.","required":false,"type":"array","items":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"dashboard","schema":{"$ref":"LookMovePlan"}}}}},"/dashboards/move":{"patch":{"tags":["Dashboard"],"operationId":"move_dashboards","summary":"move dashboards to space","description":"### Move dashboards with specified ids to space","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"dashboard","required":true,"schema":{"$ref":"Dashboard"}},{"name":"space_id","in":"query","description":"Destination space id.","required":false,"type":"string"},{"name":"dashboard_ids","in":"query","description":"Dashboard ids to move.","required":false,"type":"array","items":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Empty string response.","schema":{"type":"string"}}}}},"/dashboards/copy":{"post":{"tags":["Dashboard"],"operationId":"copy_dashboards","summary":"copy dashboards to space","description":"### Copy dashboards with specified ids to space","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"dashboard","required":false,"schema":{"$ref":"Dashboard"}},{"name":"space_id","in":"query","description":"Destination space id.","required":false,"type":"string"},{"name":"dashboard_ids","in":"query","description":"Dashboard ids to copy.","required":false,"type":"array","items":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Empty string response.","schema":{"type":"string"}}}}},"/dashboards/{dashboard_id}/prefetch":{"get":{"tags":["Dashboard"],"operationId":"dashboard_prefetch","summary":"get a prefetch","description":"### Get a prefetch for a dashboard with the specified information.\n","x-looker-status":"beta","parameters":[{"name":"dashboard_id","in":"path","description":"Id of dashboard","required":true,"type":"string"},{"name":"dashboard_filters","in":"query","description":"JSON encoded string of Dashboard filters that were applied to prefetch","required":false,"type":"array","items":{"$ref":"PrefetchDashboardFilterValue"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Prefetch","schema":{"$ref":"PrefetchMapper"}}}},"post":{"tags":["Dashboard"],"operationId":"create_dashboard_prefetch","summary":"create a prefetch","description":"### Create a prefetch for a dashboard with the specified information.\n","x-looker-status":"beta","parameters":[{"name":"dashboard_id","in":"path","description":"Id of dashboard","required":true,"type":"string"},{"name":"body","in":"body","description":"Parameters for prefetch request","required":false,"schema":{"$ref":"PrefetchDashboardRequestMapper"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"409":{"description":"Resource Already Exists","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"200":{"description":"Newly created Prefetch","schema":{"$ref":"PrefetchDashboardRequestMapper"}}}}},"/permission_sets/{permission_set_id}":{"get":{"tags":["Role"],"operationId":"permission_set","summary":"Get a permission set","description":"### Get information about the permission set with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"permission_set_id","in":"path","description":"Id of permission set","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Specified permission set.","schema":{"$ref":"PermissionSet"}}}},"delete":{"tags":["Role"],"operationId":"delete_permission_set","summary":"delete a permission set","description":"### Delete the permission set with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"permission_set_id","in":"path","description":"Id of permission set","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Permission set succssfully deleted.","schema":{"type":"string"}}}},"patch":{"tags":["Role"],"operationId":"update_permission_set","summary":"update a permission set","description":"### Update information about the permission set with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"permission_set_id","in":"path","description":"id of permission set","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"PermissionSet","required":true,"schema":{"$ref":"PermissionSet"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"New state for specified permission set.","schema":{"$ref":"PermissionSet"}}}}},"/permission_sets":{"get":{"tags":["Role"],"operationId":"all_permission_sets","summary":"get all permission sets","description":"### Get information about all permission sets.\n","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"All permission sets.","schema":{"type":"array","items":{"$ref":"PermissionSet"}}}}},"post":{"tags":["Role"],"operationId":"create_permission_set","summary":"create a permission set","description":"### Create a permission set with the specified information. Permission sets are used by Roles.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"PermissionSet","required":false,"schema":{"$ref":"PermissionSet"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"409":{"description":"Resource Already Exists","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"500":{"description":"Server Error","schema":{"$ref":"Error"}},"200":{"description":"Newly created PermissionSet","schema":{"$ref":"PermissionSet"}}}}},"/legacy_features":{"get":{"tags":["Config"],"operationId":"all_legacy_features","summary":"get all legacy features","description":"### Get all legacy features.","x-looker-status":"beta","responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"legacy feature","schema":{"type":"array","items":{"$ref":"LegacyFeature"}}}}}},"/legacy_features/{legacy_feature_id}":{"get":{"tags":["Config"],"operationId":"legacy_feature","summary":"get legacy feature","description":"### Get information about the legacy feature with a specific id.","x-looker-status":"beta","parameters":[{"name":"legacy_feature_id","in":"path","description":"id of legacy feature","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"legacy feature","schema":{"$ref":"LegacyFeature"}}}},"patch":{"tags":["Config"],"operationId":"update_legacy_feature","summary":"update legacy feature","description":"### Update information about the legacy feature with a specific id.","x-looker-status":"beta","parameters":[{"name":"legacy_feature_id","in":"path","description":"id of legacy feature","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"legacy feature","required":true,"schema":{"$ref":"LegacyFeature"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"legacy feature","schema":{"$ref":"LegacyFeature"}}}}},"/login":{"post":{"tags":["ApiAuth"],"operationId":"login","summary":"login","description":"### Login in order to use the API.\n","x-looker-status":"beta","parameters":[{"name":"client_id","in":"query","description":"client_id part of API3 Key.","required":false,"type":"string"},{"name":"client_secret","in":"query","description":"client_secret part of API3 Key.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Access token with metadata.","schema":{"$ref":"AccessToken"}}}}},"/logout":{"delete":{"tags":["ApiAuth"],"operationId":"logout","summary":"logout","description":"### Logout of the API and invalidate the current access token.\n","x-looker-status":"beta","responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Logged out successfully.","schema":{"type":"string"}}}}},"/spaces/{space_id}":{"get":{"tags":["Space"],"operationId":"space","summary":"get space","description":"### Get information about the space with a specific id.","x-looker-status":"beta","parameters":[{"name":"space_id","in":"path","description":"Id of space","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"space","schema":{"$ref":"Space"}}}},"delete":{"tags":["Space"],"operationId":"delete_space","summary":"delete space","description":"### Delete the space with a specific id including any children spaces.\n**DANGER** this will delete all looks and dashboards in the space.\n","x-looker-status":"beta","parameters":[{"name":"space_id","in":"path","description":"Id of space","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}},"patch":{"tags":["Space"],"operationId":"update_space","summary":"update space","description":"### Update the space with a specific id.","x-looker-status":"beta","parameters":[{"name":"space_id","in":"path","description":"Id of space","required":true,"type":"string"},{"name":"body","in":"body","description":"space","required":true,"schema":{"$ref":"Space"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"space","schema":{"$ref":"Space"}}}}},"/spaces":{"get":{"tags":["Space"],"operationId":"all_spaces","summary":"get all spaces","description":"### Get information about all spaces.","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"space","schema":{"type":"array","items":{"$ref":"SpaceBase"}}}}},"post":{"tags":["Space"],"operationId":"create_space","summary":"create space","description":"### Create a space with specified information.","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"space","required":false,"schema":{"$ref":"Space"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"space","schema":{"$ref":"Space"}}}}},"/spaces/{space_id}/children":{"get":{"tags":["Space"],"operationId":"space_children","summary":"get children of space","description":"### Get a space's children","x-looker-status":"beta","parameters":[{"name":"space_id","in":"path","description":"Id of space","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"},{"name":"page","in":"query","description":"Requested page.","required":false,"type":"integer","format":"int64"},{"name":"per_page","in":"query","description":"Results per page.","required":false,"type":"integer","format":"int64"},{"name":"sorts","in":"query","description":"Fields to sort by.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"space","schema":{"$ref":"Space"}}}}},"/spaces/{space_id}/children/search":{"get":{"tags":["Space"],"operationId":"space_children_search","summary":"search children of space","description":"### Search a space's children","x-looker-status":"beta","parameters":[{"name":"space_id","in":"path","description":"Id of space","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"},{"name":"sorts","in":"query","description":"Fields to sort by.","required":false,"type":"string"},{"name":"name","in":"query","description":"Match Space name.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"space","schema":{"$ref":"Space"}}}}},"/spaces/{space_id}/parent":{"get":{"tags":["Space"],"operationId":"space_parent","summary":"get parent of space","description":"### Get a space's parent","x-looker-status":"beta","parameters":[{"name":"space_id","in":"path","description":"Id of space","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"space","schema":{"$ref":"Space"}}}}},"/spaces/{space_id}/ancestors":{"get":{"tags":["Space"],"operationId":"space_ancestors","summary":"get ancestors of space","description":"### Get a space's ancestors","x-looker-status":"beta","parameters":[{"name":"space_id","in":"path","description":"Id of space","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"space","schema":{"$ref":"Space"}}}}},"/backup_configuration":{"get":{"tags":["Config"],"operationId":"backup_configuration","summary":"get backup configuration","description":"### Get the current backup configuration\n","x-looker-status":"beta","responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Current Backup Configuration","schema":{"$ref":"BackupConfiguration"}}}},"patch":{"tags":["Config"],"operationId":"update_backup_configuration","summary":"update backup configuration","description":"### Update Looker Backup Configuration\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"Options for Backup Configuration","required":true,"schema":{"$ref":"BackupConfiguration"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"New state for specified model set.","schema":{"$ref":"BackupConfiguration"}}}}},"/projects/{project_id}/reset_to_production":{"post":{"tags":["Project"],"operationId":"reset_project_to_production","summary":"Reset a project to the version that is in production.","description":"### Reset a project with a specified ID to the version of the project that is in production.\n\n**DANGER** this will delete any changes that have not been pushed to a remote repository.\n","x-looker-status":"beta","parameters":[{"name":"project_id","in":"path","description":"Id of project","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Project successfully reset.","schema":{"type":"boolean"}}}}},"/connections":{"get":{"tags":["Connection"],"operationId":"all_connections","summary":"get all connections","description":"### Get information about all connections.\n","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"connection","schema":{"type":"array","items":{"$ref":"DBConnection"}}}}},"post":{"tags":["Connection"],"operationId":"create_connection","summary":"create connection","description":"### Create a connection using the specified configuration.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"connection","required":false,"schema":{"$ref":"DBConnection"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"connection","schema":{"$ref":"DBConnection"}}}}},"/connections/{connection_name}":{"get":{"tags":["Connection"],"operationId":"connection","summary":"get connection","description":"### Get information about a connection.\n","x-looker-status":"beta","parameters":[{"name":"connection_name","in":"path","description":"Name of connection","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"connection","schema":{"$ref":"DBConnection"}}}},"patch":{"tags":["Connection"],"operationId":"update_connection","summary":"update connection","description":"### Update a connection using the specified configuration.\n","x-looker-status":"beta","parameters":[{"name":"connection_name","in":"path","description":"Name of connection","required":true,"type":"string"},{"name":"body","in":"body","description":"connection","required":true,"schema":{"$ref":"DBConnection"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"connection","schema":{"$ref":"DBConnection"}}}},"delete":{"tags":["Connection"],"operationId":"delete_connection","summary":"delete connection","description":"### Delete a connection.\n","x-looker-status":"beta","parameters":[{"name":"connection_name","in":"path","description":"Name of connection","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/connections/{connection_name}/test":{"put":{"tags":["Connection"],"operationId":"test_connection","summary":"test existing connection","description":"### Test an existing connection.\n\nNote that a connection's 'dialect' property has a 'connection_tests' property that lists the\nspecific types of tests that the connection supports.\n\nUnsupported tests in the request will be ignored.\n","x-looker-status":"beta","parameters":[{"name":"connection_name","in":"path","description":"Name of connection","required":true,"type":"string"},{"name":"tests","in":"query","description":"Array of names of tests to run","required":false,"type":"array","items":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Test results","schema":{"$ref":"DBConnectionTestResult"}}}}},"/connections/test":{"put":{"tags":["Connection"],"operationId":"test_connection_config","summary":"test connection configuration","description":"### Test a connection configuration.\n\nNote that a connection's 'dialect' property has a 'connection_tests' property that lists the\nspecific types of tests that the connection supports.\n\nUnsupported tests in the request will be ignored.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"Connection","required":false,"schema":{"$ref":"DBConnection"}},{"name":"tests","in":"query","description":"Array of names of tests to run","required":false,"type":"array","items":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Test results","schema":{"$ref":"DBConnectionTestResult"}}}}},"/dialect_info":{"get":{"tags":["Connection"],"operationId":"all_dialect_infos","summary":"get all dialect infos","description":"### Get information about all dialects.\n","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"dialect info","schema":{"type":"array","items":{"$ref":"DialectInfo"}}}}}},"/permissions":{"get":{"tags":["Role"],"operationId":"all_permissions","summary":"get all permissions","description":"### Get all supported permissions.","x-looker-status":"beta","responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"permission","schema":{"type":"array","items":{"$ref":"Permission"}}}}}},"/sql_queries/{slug}":{"get":{"tags":["SqlQuery"],"operationId":"sql_query","summary":"get SQL Runner query","description":"get a sql runner query","x-looker-status":"beta","parameters":[{"name":"slug","in":"path","description":"slug of query","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"SQL Runner query","schema":{"$ref":"SqlQuery"}}}}},"/sql_queries":{"post":{"tags":["SqlQuery"],"operationId":"create_sql_query","summary":"create SQL Runner query","description":"create a sql runner query","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"SQL Runner query","required":false,"schema":{"$ref":"SqlQuery"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"SQL Runner query","schema":{"$ref":"SqlQuery"}}}}},"/saml_config":{"get":{"tags":["Auth"],"operationId":"saml_config","summary":"get saml configuration","description":"### Get the SAML configuration.\n\nLooker can be optionally configured to authenticate users against a SAML authentication server.\nSAML setup requires coordination with an administrator of that server.\n\nOnly Looker administrators can read and update the SAML configuration.\n\nConfiguring SAML impacts authentication for all users. This configuration should be done carefully.\n\nLooker maintains a single SAML configuation. It can be read and updated. Updates only succeed if the new state will be valid (in the sense that all required fields are populated); it is up to you to ensure that the configuration is appropriate and correct).\n\nSAML is enabled or disabled for Looker using the **enabled** field.\n","x-looker-status":"beta","responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"SAML Configuration.","schema":{"$ref":"SamlConfig"}}}},"patch":{"tags":["Auth"],"operationId":"update_saml_config","summary":"update saml configuration","description":"### Update the SAML configuration.\n\nConfiguring SAML impacts authentication for all users. This configuration should be done carefully.\n\nOnly Looker administrators can read and update the SAML configuration.\n\nSAML is enabled or disabled for Looker using the **enabled** field.\n\nIt is **highly** recommended that any SAML setting changes be tested using the APIs below before being set globally.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"SAML Config","required":true,"schema":{"$ref":"SamlConfig"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"New state for SAML Configuration.","schema":{"$ref":"SamlConfig"}}}}},"/saml_test_configs/{test_slug}":{"get":{"tags":["Auth"],"operationId":"saml_test_config","summary":"get saml test configuration","description":"### Get a SAML test configuration by test_slug.\n","x-looker-status":"beta","parameters":[{"name":"test_slug","in":"path","description":"Slug of test config","required":true,"type":"string"}],"responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"SAML test config.","schema":{"$ref":"SamlConfig"}}}},"delete":{"tags":["Auth"],"operationId":"delete_saml_test_config","summary":"delete saml test configuration","description":"### Delete a SAML test configuration.\n","x-looker-status":"beta","parameters":[{"name":"test_slug","in":"path","description":"Slug of test config","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Test config succssfully deleted.","schema":{"type":"string"}}}}},"/saml_test_configs":{"post":{"tags":["Auth"],"operationId":"create_saml_test_config","summary":"create saml test configuration","description":"### Create a SAML test configuration.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"SAML test config","required":true,"schema":{"$ref":"SamlConfig"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"SAML test config","schema":{"$ref":"SamlConfig"}}}}},"/parse_saml_idp_metadata":{"post":{"tags":["Auth"],"operationId":"parse_saml_idp_metadata","summary":"parse saml idp metadata xml","description":"### Parse the given xml as a Saml IdP metadata document and return the result.\n","x-looker-status":"beta","consumes":["text/plain"],"parameters":[{"name":"body","in":"body","description":"SAML IdP metadata xml","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Parse result","schema":{"$ref":"SamlMetadataParseResult"}}}}},"/fetch_and_parse_saml_idp_metadata":{"post":{"tags":["Auth"],"operationId":"fetch_and_parse_saml_idp_metadata","summary":"fetch and parse saml idp metadata xml","description":"### Fetch the given url and parse it as a Saml IdP metadata document and return the result.\nNote that this requires that the url be public or at least at a location where the Looker instance\ncan fetch it without requiring any special authentication.\n","x-looker-status":"beta","consumes":["text/plain"],"parameters":[{"name":"body","in":"body","description":"SAML IdP metadata public url","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Parse result","schema":{"$ref":"SamlMetadataParseResult"}}}}},"/uploads/{upload_id}/lookml":{"get":{"tags":["Upload"],"operationId":"get_upload_lookml","summary":"Get the generated lookml for a table created via upload","description":"### Get the generated lookML for an uploaded table\n\n**License feature may not be available on your Looker\nBeta feature not frozen**\n\n","x-looker-status":"undocumented","parameters":[{"name":"upload_id","in":"path","description":"Id of uploaded table","required":true,"type":"integer","format":"int64"}],"responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"200":{"description":"Generated lookml for specified upload.","schema":{"type":"string"}}}}},"/uploads/{upload_id}":{"get":{"tags":["Upload"],"operationId":"get_upload","summary":"Get table definition for an upload","description":"### Get information about the specified upload table\n","x-looker-status":"undocumented","parameters":[{"name":"upload_id","in":"path","description":"Id of uploaded table","required":true,"type":"integer","format":"int64"}],"responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Specified upload table.","schema":{"$ref":"UploadTable"}}}},"delete":{"tags":["Upload"],"operationId":"delete_upload","summary":"Delete UploadTable and drop upload created table if exists","description":"### Drop the uploaded table with a specific id.\n","x-looker-status":"undocumented","parameters":[{"name":"upload_id","in":"path","description":"Id of uploaded table","required":true,"type":"integer","format":"int64"}],"responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Upload table successfully deleted.","schema":{"type":"boolean"}}}},"put":{"tags":["Upload"],"operationId":"update_upload","summary":"Update upload table definition and create/load the DB table","description":"### Update the upload table definition and create/load the DB table\n","x-looker-status":"undocumented","parameters":[{"name":"upload_id","in":"path","description":"Id of upload table","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"Specified upload table","required":true,"schema":{"$ref":"UploadTable"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"405":{"description":"Resource Can't Be Modified","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"200":{"description":"Updated upload table.","schema":{"$ref":"UploadTable"}}}},"post":{"tags":["Upload"],"operationId":"load_upload","summary":"Upload contents of a file to create and load a table in the DB","description":"### Upload contents of file for user defined table generation/load.\n","x-looker-status":"undocumented","consumes":["text/plain","text/csv"],"parameters":[{"name":"upload_id","in":"path","description":"Id of upload table","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"File contents","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The loaded UploadTable.","schema":{"$ref":"UploadTable"}},"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}}}}},"/uploads":{"get":{"tags":["Upload"],"operationId":"all_uploads","summary":"get all uploads","description":"### Get information about all uploaded tables.\n","x-looker-status":"undocumented","responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"All uploaded tables.","schema":{"type":"array","items":{"$ref":"UploadTable"}}}}},"post":{"tags":["Upload"],"operationId":"create_upload","summary":"Upload a csv file and return the inferred table definition","description":"### Upload a csv file for user defined table generation/load.\n","x-looker-status":"undocumented","parameters":[{"name":"body","in":"body","description":"UploadTable","required":true,"schema":{"$ref":"UploadTable"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"200":{"description":"UploadTable target for confirmation with PUT.","schema":{"$ref":"UploadTable"}}}}},"/ldap_config":{"get":{"tags":["Auth"],"operationId":"ldap_config","summary":"get ldap configuration","description":"### Get the LDAP configuration.\n\nLooker can be optionally configured to authenticate users against an Active Directory or other LDAP directory server.\nLDAP setup requires coordination with an administrator of that directory server.\n\nOnly Looker administrators can read and update the LDAP configuration.\n\nConfiguring LDAP impacts authentication for all users. This configuration should be done carefully.\n\nLooker maintains a single LDAP configuation. It can be read and updated. Updates only succeed if the new state will be valid (in the sense that all required fields are populated); it is up to you to ensure that the configuration is appropriate and correct).\n\nLDAP is enabled or disabled for Looker using the **enabled** field.\n\nLooker will never return an **auth_password** field. That value can be set, but never retreived.\n\nSee the [Looker LDAP docs]( http://www.looker.com/docs/admin/security/ldap-setup) for additional information.\n","x-looker-status":"beta","responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"LDAP Configuration.","schema":{"$ref":"LDAPConfig"}}}},"patch":{"tags":["Auth"],"operationId":"update_ldap_config","summary":"update ldap configuration","description":"### Update the LDAP configuration.\n\nConfiguring LDAP impacts authentication for all users. This configuration should be done carefully.\n\nOnly Looker administrators can read and update the LDAP configuration.\n\nLDAP is enabled or disabled for Looker using the **enabled** field.\n\nIt is **highly** recommended that any LDAP setting changes be tested using the APIs below before being set globally.\n\nSee the [Looker LDAP docs]( http://www.looker.com/docs/admin/security/ldap-setup) for additional information.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"LDAP Config","required":true,"schema":{"$ref":"LDAPConfig"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"New state for LDAP Configuration.","schema":{"$ref":"LDAPConfig"}}}}},"/ldap_config/test_connection":{"put":{"tags":["Auth"],"operationId":"test_ldap_config_connection","summary":"test ldap connection config","description":"### Test the connection settings for an LDAP configuration.\n\nThis tests that the connection is possible given a connection_host and connection_port.\n\n**connection_host** and **connection_port** are required. **connection_tls** is optional.\n\nExample:\n```json\n{\n \"connection_host\": \"ldap.example.com\",\n \"connection_port\": \"636\",\n \"connection_tls\": true\n}\n```\n\nNo authentication to the LDAP server is attempted.\n\nThe active LDAP settings are not modified.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"LDAP Config","required":true,"schema":{"$ref":"LDAPConfig"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Result info.","schema":{"$ref":"LDAPConfigTestResult"}}}}},"/ldap_config/test_auth":{"put":{"tags":["Auth"],"operationId":"test_ldap_config_auth","summary":"test ldap auth config","description":"### Test the connection authentication settings for an LDAP configuration.\n\nThis tests that the connection is possible and that a 'server' account to be used by Looker can authenticate to the LDAP server given connection and authentication information.\n\n**connection_host**, **connection_port**, and **auth_username**, are required. **connection_tls** and **auth_password** are optional.\n\nExample:\n```json\n{\n \"connection_host\": \"ldap.example.com\",\n \"connection_port\": \"636\",\n \"connection_tls\": true,\n \"auth_username\": \"cn=looker,dc=example,dc=com\",\n \"auth_password\": \"secret\"\n}\n```\n\nLooker will never return an **auth_password**. If this request omits the **auth_password** field, then the **auth_password** value from the active config (if present) will be used for the test.\n\nThe active LDAP settings are not modified.\n\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"LDAP Config","required":true,"schema":{"$ref":"LDAPConfig"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Result info.","schema":{"$ref":"LDAPConfigTestResult"}}}}},"/ldap_config/test_user_info":{"put":{"tags":["Auth"],"operationId":"test_ldap_config_user_info","summary":"test ldap user info config","description":"### Test the user authentication settings for an LDAP configuration without authenticating the user.\n\nThis test will let you easily test the mapping for user properties and roles for any user without needing to authenticate as that user.\n\nThis test accepts a full LDAP configuration along with a username and attempts to find the full info for the user from the LDAP server without actually authenticating the user. So, user password is not required.The configuration is validated before attempting to contact the server.\n\n**test_ldap_user** is required.\n\nThe active LDAP settings are not modified.\n\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"LDAP Config","required":true,"schema":{"$ref":"LDAPConfig"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Result info.","schema":{"$ref":"LDAPConfigTestResult"}}}}},"/ldap_config/test_user_auth":{"put":{"tags":["Auth"],"operationId":"test_ldap_config_user_auth","summary":"test ldap user auth config","description":"### Test the user authentication settings for an LDAP configuration.\n\nThis test accepts a full LDAP configuration along with a username/password pair and attempts to authenticate the user with the LDAP server. The configuration is validated before attempting the authentication.\n\nLooker will never return an **auth_password**. If this request omits the **auth_password** field, then the **auth_password** value from the active config (if present) will be used for the test.\n\n**test_ldap_user** and **test_ldap_password** are required.\n\nThe active LDAP settings are not modified.\n\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"LDAP Config","required":true,"schema":{"$ref":"LDAPConfig"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Result info.","schema":{"$ref":"LDAPConfigTestResult"}}}}},"/scheduled_plan_destinations":{"post":{"tags":["ScheduledPlan"],"operationId":"create_scheduled_plan_destination","summary":"create scheduled plan destination","description":"### Set destinations for a scheduled plan","x-looker-status":"undocumented","parameters":[{"name":"body","in":"body","description":"scheduled plan destination","required":false,"schema":{"$ref":"ScheduledPlanDestination"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan destination","schema":{"$ref":"ScheduledPlanDestination"}}}}},"/scheduled_plan_destinations/{scheduled_plan_destination_id}":{"get":{"tags":["ScheduledPlan"],"operationId":"scheduled_plan_destination","summary":"get scheduled plan destination","description":"### Get scheduled plan destination instance","x-looker-status":"undocumented","parameters":[{"name":"scheduled_plan_destination_id","in":"path","description":"Scheduled Plan Destination Id","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan destination","schema":{"$ref":"ScheduledPlanDestination"}}}},"patch":{"tags":["ScheduledPlan"],"operationId":"update_scheduled_plan_destination","summary":"update scheduled plan destination","description":"### Update a scheduled plan destination instance","x-looker-status":"undocumented","parameters":[{"name":"scheduled_plan_destination_id","in":"path","description":"Scheduled Plan Destination Id","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"scheduled plan destination","required":true,"schema":{"$ref":"ScheduledPlanDestination"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"scheduled plan destination","schema":{"$ref":"ScheduledPlanDestination"}}}},"delete":{"tags":["ScheduledPlan"],"operationId":"delete_scheduled_plan_destination","summary":"delete scheduled plan destination","description":"### Delete a scheduled plan destination instance","x-looker-status":"undocumented","parameters":[{"name":"scheduled_plan_destination_id","in":"path","description":"Scheduled Plan Destination Id","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/stories":{"get":{"tags":["Story"],"operationId":"all_stories","summary":"Get all stories","description":"### Get a list of all of the stories (without the html).\n","x-looker-status":"undocumented","responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"All Stories.","schema":{"type":"array","items":{"$ref":"StoryListItem"}}}}}},"/stories/assets":{"get":{"tags":["Story"],"operationId":"story_assets","summary":"Get assets used by stories","description":"### Get the assets for stories.\n","x-looker-status":"undocumented","responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Assets for stories.","schema":{"$ref":"StoryAssets"}}}}},"/stories/{story_id}":{"get":{"tags":["Story"],"operationId":"story","summary":"Get a story","description":"### Get the story with a specific id.\n","x-looker-status":"undocumented","parameters":[{"name":"story_id","in":"path","description":"Id of story","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Specified story.","schema":{"$ref":"Story"}}}}},"/model_sets/{model_set_id}":{"get":{"tags":["Role"],"operationId":"model_set","summary":"Get a model set","description":"### Get information about the model set with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"model_set_id","in":"path","description":"Id of model set","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Specified model set.","schema":{"$ref":"ModelSet"}}}},"delete":{"tags":["Role"],"operationId":"delete_model_set","summary":"delete a model set","description":"### Delete the model set with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"model_set_id","in":"path","description":"id of model set","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Model set succssfully deleted.","schema":{"type":"string"}}}},"patch":{"tags":["Role"],"operationId":"update_model_set","summary":"update a model set","description":"### Update information about the model set with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"model_set_id","in":"path","description":"id of model set","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"ModelSet","required":true,"schema":{"$ref":"ModelSet"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"New state for specified model set.","schema":{"$ref":"ModelSet"}}}}},"/model_sets":{"get":{"tags":["Role"],"operationId":"all_model_sets","summary":"get all model sets","description":"### Get information about all model sets.\n","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"All model sets.","schema":{"type":"array","items":{"$ref":"ModelSet"}}}}},"post":{"tags":["Role"],"operationId":"create_model_set","summary":"create a model set","description":"### Create a model set with the specified information. Model sets are used by Roles.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"ModelSet","required":false,"schema":{"$ref":"ModelSet"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"409":{"description":"Resource Already Exists","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"500":{"description":"Server Error","schema":{"$ref":"Error"}},"200":{"description":"Newly created ModelSet","schema":{"$ref":"ModelSet"}}}}},"/looks":{"get":{"tags":["Look"],"operationId":"all_looks","summary":"get all looks","description":"### Get all the looks.","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"look","schema":{"type":"array","items":{"$ref":"Look"}}}}}},"/looks/{look_id}":{"get":{"tags":["Look"],"operationId":"look","summary":"get look","description":"### Get a Look.\n\nReturn detailed information about the Look and its associated Query.\n\n","x-looker-status":"beta","parameters":[{"name":"look_id","in":"path","description":"Id of look","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"look","schema":{"$ref":"LookWithQuery"}}}}},"/looks/{look_id}/run/{format}":{"get":{"tags":["Look"],"operationId":"run_look","summary":"run look","description":"### Run a Look.\n\nGiven a look id and a format, this will run the look's query and return the results.\n\nSuported formats:\n- json - plain json\n- csv - comma separated values with a header\n- txt - tab separated values with a header\n- html - simple html\n- md - simple markdown\n- sql - shows the generated SQL rather than running the query\n- png - a PNG image of the visualization of the query\n- jpg - a JPG image of the visualization of the query\n- unified - json that is annotated with additional metadata as used by the Looker web application\n\n\n","x-looker-status":"beta","produces":["text","application/json","image/png","image/jpg"],"parameters":[{"name":"look_id","in":"path","description":"Id of look","required":true,"type":"integer","format":"int64"},{"name":"format","in":"path","description":"Format of result","required":true,"type":"string"},{"name":"limit","in":"query","description":"Row limit (may override the limit in the saved query).","required":false,"type":"integer","format":"int64"},{"name":"apply_formatting","in":"query","description":"Apply model-specified formatting to each result.","required":false,"type":"boolean"},{"name":"cache","in":"query","description":"Get results from cache if available.","required":false,"type":"boolean"},{"name":"image_width","in":"query","description":"Render width for image formats.","required":false,"type":"integer","format":"int64"},{"name":"image_height","in":"query","description":"Render height for image formats.","required":false,"type":"integer","format":"int64"},{"name":"generate_drill_links","in":"query","description":"Generate drill links (only applicable to 'unified' format.","required":false,"type":"boolean"},{"name":"force_production","in":"query","description":"Force use of production models even if the user is in developer mode.","required":false,"type":"boolean"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"look","schema":{"type":"string"}}}}},"/looks/{look_id}/prefetch":{"get":{"tags":["Look"],"operationId":"look_prefetch","summary":"get a prefetch","description":"### Get a prefetch for a look with the specified information.\n","x-looker-status":"beta","parameters":[{"name":"look_id","in":"path","description":"Id of look","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Prefetch","schema":{"$ref":"PrefetchMapper"}}}},"post":{"tags":["Look"],"operationId":"create_look_prefetch","summary":"create a prefetch","description":"### Create a prefetch for a look with the specified information.\n","x-looker-status":"beta","parameters":[{"name":"look_id","in":"path","description":"Id of dashboard","required":true,"type":"string"},{"name":"body","in":"body","description":"Parameters for prefetch request","required":false,"schema":{"$ref":"PrefetchLookRequestMapper"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"409":{"description":"Resource Already Exists","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"200":{"description":"Newly created Prefetch","schema":{"$ref":"PrefetchLookRequestMapper"}}}}},"/queries/{query_id}":{"get":{"tags":["Query"],"operationId":"query","summary":"get query","description":"### Get a previously created query by id.\n\nA Looker query object includes the various parameters that define a database query that has been run or\ncould be run in the future. These parameters include: model, view, fields, filters, pivots, etc.\nQuery *results* are not part of the query object.\n\nQuery objects are unique and immutable. Query objects are created automatically in Looker as users explore data.\nLooker does not delete them; they become part of the query history. When asked to create a query for\nany given set of parameters, Looker will first try to find an existing query object with matching\nparameters and will only create a new object when an appropriate object can not be found.\n\nThis 'get' method is used to get the details about a query for a given id. See the other methods here\nto 'create' and 'run' queries.\n\nNote that some fields like 'filter_config' and 'vis_config' etc are specific to how the Looker UI\nbuilds queries and visualizations and are not generally useful for API use. They are not required when\ncreating new queries and can usually just be ignored.\n\n","x-looker-status":"beta","parameters":[{"name":"query_id","in":"path","description":"Id of query","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"query","schema":{"$ref":"Query"}}}}},"/queries/slug/{slug}":{"get":{"tags":["Query"],"operationId":"query_for_slug","summary":"get query for slug","description":"### Get the query for a given query slug.\n\nThis returns the query for the 'slug' in a query share URL.\n\nThe 'slug' is a randomly chosen short string that is used as an alternative to the query's id value\nfor use in URLs etc. This method exists as a convenience to help you use the API to 'find' queries that\nhave been created using the Looker UI.\n\nYou can use the Looker explore page to build a query and then choose the 'Share' option to\nshow the share url for the query. Share urls generally look something like 'https://looker.yourcompany/x/vwGSbfc'.\nThe trailing 'vwGSbfc' is the share slug. You can pass that string to this api method to get details about the query.\nThose details include the 'id' that you can use to run the query. Or, you can copy the query body\n(perhaps with your own modification) and use that as the basis to make/run new queries.\n\n","x-looker-status":"beta","parameters":[{"name":"slug","in":"path","description":"Slug of query","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"query","schema":{"$ref":"Query"}}}}},"/queries":{"post":{"tags":["Query"],"operationId":"create_query","summary":"create query","description":"### Create a query.\n\nThis allows you to create a new query that you can later run. Looker queries are immutable once created\nand are not deleted. If you create a query that is exactly like an existing query then the existing query\nwill be returned and no new query will be created. Whether a new query is created or not, you can use\nthe 'id' in the returned query with the 'run' method.\n\nThe query parameters are passed as json in the body of the request.\n\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"query","required":false,"schema":{"$ref":"Query"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"query","schema":{"$ref":"Query"}}}}},"/queries/{query_id}/run/{format}":{"get":{"tags":["Query"],"operationId":"run_query","summary":"run query","description":"### Run a saved query.\n\nThis runs a previously saved query. You can use this on a query that was generated in the Looker UI\nor one that you have explicitly created using the API. You can also use a query 'id' from a saved 'Look'.\n\nThis will return the result of running the query in the format specified by the 'format' paramater.\n\nSuported formats:\n- json - plain json\n- csv - comma separated values with a header\n- txt - tab separated values with a header\n- html - simple html\n- md - simple markdown\n- sql - shows the generated SQL rather than running the query\n- png - a PNG image of the visualization of the query\n- jpg - a JPG image of the visualization of the query\n- unified - json that is annotated with additional metadata as used by the Looker web application\n\n\n","x-looker-status":"beta","produces":["text","application/json","image/png","image/jpg"],"parameters":[{"name":"query_id","in":"path","description":"Id of query","required":true,"type":"integer","format":"int64"},{"name":"format","in":"path","description":"Format of result","required":true,"type":"string"},{"name":"limit","in":"query","description":"Row limit (may override the limit in the saved query).","required":false,"type":"integer","format":"int64"},{"name":"apply_formatting","in":"query","description":"Apply model-specified formatting to each result.","required":false,"type":"boolean"},{"name":"cache","in":"query","description":"Get results from cache if available.","required":false,"type":"boolean"},{"name":"image_width","in":"query","description":"Render width for image formats.","required":false,"type":"integer","format":"int64"},{"name":"image_height","in":"query","description":"Render height for image formats.","required":false,"type":"integer","format":"int64"},{"name":"generate_drill_links","in":"query","description":"Generate drill links (only applicable to 'unified' format.","required":false,"type":"boolean"},{"name":"force_production","in":"query","description":"Force use of production models even if the user is in developer mode.","required":false,"type":"boolean"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"query","schema":{"type":"string"}}}}},"/queries/run/{format}":{"post":{"tags":["Query"],"operationId":"run_inline_query","summary":"run inline query","description":"### Run the query that is specified inline in the posted body.\n\nThis allows running a query as defined in json in the posted body. This combines\nthe two actions of posting \u0026 running a query into one step.\n\nHere is an example body in json:\n```\n{\n \"model\":\"thelook\",\n \"view\":\"inventory_items\",\n \"fields\":[\"category.name\",\"inventory_items.days_in_inventory_tier\",\"products.count\"],\n \"filters\":{\"category.name\":\"socks\"},\n \"sorts\":[\"products.count desc 0\"],\n \"limit\":\"500\",\n \"query_timezone\":\"America/Los_Angeles\"\n}\n```\n\nWhen using the Ruby SDK this would be passed as a Ruby hash like:\n```\n{\n :model=\u003e\"thelook\",\n :view=\u003e\"inventory_items\",\n :fields=\u003e\n [\"category.name\",\n \"inventory_items.days_in_inventory_tier\",\n \"products.count\"],\n :filters=\u003e{:\"category.name\"=\u003e\"socks\"},\n :sorts=\u003e[\"products.count desc 0\"],\n :limit=\u003e\"500\",\n :query_timezone=\u003e\"America/Los_Angeles\",\n}\n```\n\nThis will return the result of running the query in the format specified by the 'format' paramater.\n\nSuported formats:\n- json - plain json\n- csv - comma separated values with a header\n- txt - tab separated values with a header\n- html - simple html\n- md - simple markdown\n- sql - shows the generated SQL rather than running the query\n- png - a PNG image of the visualization of the query\n- jpg - a JPG image of the visualization of the query\n- unified - json that is annotated with additional metadata as used by the Looker web application\n\n\n","x-looker-status":"beta","produces":["text","application/json","image/png","image/jpg"],"parameters":[{"name":"format","in":"path","description":"Format of result","required":true,"type":"string"},{"name":"body","in":"body","description":"inline query","required":true,"schema":{"$ref":"Query"}},{"name":"limit","in":"query","description":"Row limit (may override the limit in the saved query).","required":false,"type":"integer","format":"int64"},{"name":"apply_formatting","in":"query","description":"Apply model-specified formatting to each result.","required":false,"type":"boolean"},{"name":"cache","in":"query","description":"Get results from cache if available.","required":false,"type":"boolean"},{"name":"image_width","in":"query","description":"Render width for image formats.","required":false,"type":"integer","format":"int64"},{"name":"image_height","in":"query","description":"Render height for image formats.","required":false,"type":"integer","format":"int64"},{"name":"generate_drill_links","in":"query","description":"Generate drill links (only applicable to 'unified' format.","required":false,"type":"boolean"},{"name":"force_production","in":"query","description":"Force use of production models even if the user is in developer mode.","required":false,"type":"boolean"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Query Result","schema":{"type":"string"}}}}},"/queries/models/{model_name}/views/{view_name}/run/{format}":{"get":{"tags":["Query"],"operationId":"run_url_encoded_query","summary":"run url encoded query","description":"### Run an URL encoded query.\n\nThis requires the caller to encode the specifiers for the query into the URL query part using\nLooker-specific syntax as explained below.\n\nGenerally, you would want to use one of the methods that takes the parameters as json in the POST body\nfor creating and/or running queries. This method exists for cases where one really needs to encode the\nparamaters into the URL of a single 'GET' request. This matches the way that the Looker UI formats\n'explore' URLs etc.\n\nThe parameters here are very similar to the json body formatting except that the filter syntax is\ntricky. Unfortunately, this format makes this method not currently callible via the 'Try it out!' button\nin this documentation page. But, this is callable when creating URLs manually or when using the Looker SDK.\n\nHere is an example inline query URL:\n\n\"https://looker.mycompany.com:19999/api/3.0/queries/models/thelook/views/inventory_items/run/json?fields=category.name,inventory_items.days_in_inventory_tier,products.count\u0026f[category.name]=socks\u0026sorts=products.count+desc+0\u0026limit=500\u0026query_timezone=America/Los_Angeles\"\n\nWhen calling the Ruby SDK, one passes the query parameter parts as a hash. The hash to match the above would like like:\n\n```\n{\n :fields =\u003e \"category.name,inventory_items.days_in_inventory_tier,products.count\",\n :\"f[category.name]\" =\u003e \"socks\",\n :sorts =\u003e \"products.count desc 0\",\n :limit =\u003e \"500\",\n :query_timezone =\u003e \"America/Los_Angeles\"\n}\n```\n\nAgain, it is generally easier to use the variant of this method that passes the full query in the POST body.\nThis method is available for cases where other alternatives won't fit the need.\n\nSuported formats:\n- json - plain json\n- csv - comma separated values with a header\n- txt - tab separated values with a header\n- html - simple html\n- md - simple markdown\n- sql - shows the generated SQL rather than running the query\n- png - a PNG image of the visualization of the query\n- jpg - a JPG image of the visualization of the query\n- unified - json that is annotated with additional metadata as used by the Looker web application\n\n\n","x-looker-status":"beta","produces":["text","application/json","image/png","image/jpg"],"parameters":[{"name":"model_name","in":"path","description":"Model name","required":true,"type":"string"},{"name":"view_name","in":"path","description":"View name","required":true,"type":"string"},{"name":"format","in":"path","description":"Format of result","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"query","schema":{"type":"string"}}}}},"/queries/{query_id}/run_async":{"post":{"tags":["Query"],"operationId":"run_async","summary":"Run a Query asynchronously.","description":"### Run a saved query asynchronously.\n\nRuns a previously created query asynchronously. Returns a Query Task ID\nwhich can be used to fetch the results from the Query Tasks results endpoint.\n\n","x-looker-status":"beta","parameters":[{"name":"query_id","in":"path","description":"ID of query","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"async query run","required":false,"schema":{"$ref":"AsyncQuery"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"async query run","schema":{"$ref":"AsyncQuery"}}}}},"/queries/run_async":{"post":{"tags":["Query"],"operationId":"create_query_and_run_async","summary":"Create a Query and run it asynchronously.","description":"Given a set of properties for a Query, fetches or creates the Query and starts running it asynchronously.\nThe Query Task results endpoint can be used to fetch the query.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"Query data","required":true,"schema":{"$ref":"Query"}},{"name":"format","in":"query","description":"Format of the response. Default is json.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"create query and run async","schema":{"$ref":"AsyncQuery"}}}}},"/embed_config":{"get":{"tags":["Auth"],"operationId":"embed_config","summary":"get embed config","description":"### Get the embed configuration.\n","x-looker-status":"undocumented","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"embed config","schema":{"$ref":"EmbedConfig"}}}},"patch":{"tags":["Auth"],"operationId":"update_embed_config","summary":"update embed config","description":"### Update the embed configuration.\n","x-looker-status":"undocumented","parameters":[{"name":"body","in":"body","description":"embed config","required":true,"schema":{"$ref":"EmbedConfig"}},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"embed config","schema":{"$ref":"EmbedConfig"}}}}},"/embed_config/check_domain":{"put":{"tags":["Auth"],"operationId":"check_embed_domain","summary":"check embed domain","description":"### Check to see if the proposed domain is allowed based on the embed configuration.\n\nThe domain must start with 'http://' or 'https://'.\n","x-looker-status":"undocumented","parameters":[{"name":"domain","in":"query","description":"Domain to check.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"check result","schema":{"$ref":"EmbedCheckDomainResult"}}}}},"/embed_config/secrets":{"get":{"tags":["Auth"],"operationId":"all_embed_secrets","summary":"get all embed secrets","description":"### Get information about all embed secrets.\n","x-looker-status":"undocumented","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"embed secret","schema":{"type":"array","items":{"$ref":"EmbedSecret"}}}}},"post":{"tags":["Auth"],"operationId":"create_embed_secret","summary":"create embed secret","description":"### Create an embed secret using the specified information.\n","x-looker-status":"undocumented","parameters":[{"name":"body","in":"body","description":"embed secret","required":false,"schema":{"$ref":"EmbedSecret"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"embed secret","schema":{"$ref":"EmbedSecret"}}}}},"/embed_config/secrets/{embed_secret_id}":{"get":{"tags":["Auth"],"operationId":"embed_secret","summary":"get embed secret","description":"### Get information about an embed secret.\n","x-looker-status":"undocumented","parameters":[{"name":"embed_secret_id","in":"path","description":"Id of Embed Secret","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"embed secret","schema":{"$ref":"EmbedSecret"}}}},"patch":{"tags":["Auth"],"operationId":"update_embed_secret","summary":"update embed secret","description":"### Update an embed secret using the specified information.\n","x-looker-status":"undocumented","parameters":[{"name":"embed_secret_id","in":"path","description":"Id of Embed Secret","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"embed secret","required":true,"schema":{"$ref":"EmbedSecret"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"embed secret","schema":{"$ref":"EmbedSecret"}}}},"delete":{"tags":["Auth"],"operationId":"delete_embed_secret","summary":"delete embed secret","description":"### Delete an embed secret.\n","x-looker-status":"undocumented","parameters":[{"name":"embed_secret_id","in":"path","description":"Id of Embed Secret","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Successfully deleted.","schema":{"type":"string"}}}}},"/timezones":{"get":{"tags":["Config"],"operationId":"all_timezones","summary":"get all timezones","description":"### Get a list of timezones that Looker supports (e.g. useful for scheduling tasks).\n","x-looker-status":"beta","responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"timezones","schema":{"type":"array","items":{"$ref":"Timezone"}}}}}},"/query_tasks/multi_results":{"get":{"tags":["Query"],"operationId":"query_task_multi_results","summary":"Get multiple query task results in one request.","description":"Fetch a multiple Query Task results at once.\n","x-looker-status":"beta","parameters":[{"name":"query_task_ids[]","in":"query","description":"List of Query Task IDs","required":true,"type":"array","items":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Multiple query results","schema":{"type":"string"}}}}},"/query_tasks/{query_task_id}":{"get":{"tags":["Query"],"operationId":"query_task","summary":"Get a Query Task","description":"Fetch a Query Task.\n\nQuery Tasks are generated by running queries asynchronously. They are represented by a GUID returned\nfrom one of the async query endpoints.\n","x-looker-status":"beta","parameters":[{"name":"query_task_id","in":"path","description":"ID of the Query Task","required":true,"type":"string"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"query_task","schema":{"$ref":"RunningQueries"}}}}},"/query_tasks/{query_task_id}/results":{"get":{"tags":["Query"],"operationId":"query_task_results","summary":"Get a Query Task's results","description":"Fetch a Query Task's results.\n","x-looker-status":"beta","produces":["text","application/json"],"parameters":[{"name":"query_task_id","in":"path","description":"ID of the Query Task","required":true,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"The query results.","schema":{"type":"string"}},"204":{"description":"The Query Task is not finished"}}}},"/roles":{"get":{"tags":["Role"],"operationId":"all_roles","summary":"get all roles","description":"### Get information about all roles.\n","x-looker-status":"beta","parameters":[{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"All roles.","schema":{"type":"array","items":{"$ref":"Role"}}}}},"post":{"tags":["Role"],"operationId":"create_role","summary":"create a role","description":"### Create a role with the specified information.\n","x-looker-status":"beta","parameters":[{"name":"body","in":"body","description":"Role","required":false,"schema":{"$ref":"Role"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"409":{"description":"Resource Already Exists","schema":{"$ref":"Error"}},"422":{"description":"Validation Error","schema":{"$ref":"ValidationError"}},"500":{"description":"Server Error","schema":{"$ref":"Error"}},"200":{"description":"Newly created Role","schema":{"$ref":"Role"}}}}},"/roles/{role_id}":{"get":{"tags":["Role"],"operationId":"role","summary":"Get a role","description":"### Get information about the role with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"role_id","in":"path","description":"id of role","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Specified role.","schema":{"$ref":"Role"}}}},"delete":{"tags":["Role"],"operationId":"delete_role","summary":"delete a role","description":"### Delete the role with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"role_id","in":"path","description":"id of role","required":true,"type":"integer","format":"int64"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"204":{"description":"Role succssfully deleted.","schema":{"type":"string"}}}},"patch":{"tags":["Role"],"operationId":"update_role","summary":"update a role","description":"### Update information about the role with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"role_id","in":"path","description":"id of role","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"Role","required":true,"schema":{"$ref":"Role"}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"New state for specified role.","schema":{"$ref":"Role"}}}}},"/roles/{role_id}/users":{"get":{"tags":["Role"],"operationId":"role_users","summary":"Get users with role","description":"### Get information about all the users with the role that has a specific id.\n","x-looker-status":"beta","parameters":[{"name":"role_id","in":"path","description":"id of user","required":true,"type":"integer","format":"int64"},{"name":"fields","in":"query","description":"Requested fields.","required":false,"type":"string"}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"200":{"description":"Users with role.","schema":{"type":"array","items":{"$ref":"User"}}}}},"put":{"tags":["Role"],"operationId":"set_role_users","summary":"Set users with role","description":"### Set all the users of the role with a specific id.\n","x-looker-status":"beta","parameters":[{"name":"role_id","in":"path","description":"id of role","required":true,"type":"integer","format":"int64"},{"name":"body","in":"body","description":"array of user ids for role","required":true,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"400":{"description":"Bad Request","schema":{"$ref":"Error"}},"404":{"description":"Not Found","schema":{"$ref":"Error"}},"405":{"description":"Resource Can't Be Modified","schema":{"$ref":"Error"}},"500":{"description":"Server Error","schema":{"$ref":"Error"}},"200":{"description":"Users wiith role.","schema":{"type":"array","items":{"$ref":"User"}}}}}}},"sinatra_paths":{"GET /user":"me","GET /users":"all_users","GET /users/search":"search_users","GET /users/search/names/:pattern":"search_users_names","GET /users/:user_id":"user","DELETE /users/:user_id":"delete_user","PATCH /users/:user_id":"update_user","POST /users":"create_user","GET /users/:user_id/credentials_email":"user_credentials_email","POST /users/:user_id/credentials_email":"create_user_credentials_email","PATCH /users/:user_id/credentials_email":"update_user_credentials_email","DELETE /users/:user_id/credentials_email":"delete_user_credentials_email","GET /users/:user_id/credentials_totp":"user_credentials_totp","POST /users/:user_id/credentials_totp":"create_user_credentials_totp","DELETE /users/:user_id/credentials_totp":"delete_user_credentials_totp","GET /users/:user_id/credentials_api":"user_credentials_api","POST /users/:user_id/credentials_api":"create_user_credentials_api","DELETE /users/:user_id/credentials_api":"delete_user_credentials_api","GET /users/:user_id/credentials_ldap":"user_credentials_ldap","DELETE /users/:user_id/credentials_ldap":"delete_user_credentials_ldap","GET /users/:user_id/credentials_google":"user_credentials_google","DELETE /users/:user_id/credentials_google":"delete_user_credentials_google","GET /users/:user_id/credentials_saml":"user_credentials_saml","DELETE /users/:user_id/credentials_saml":"delete_user_credentials_saml","GET /users/:user_id/credentials_api3/:credentials_api3_id":"user_credentials_api3","GET /users/:user_id/credentials_api3":"all_user_credentials_api3s","POST /users/:user_id/credentials_api3":"create_user_credentials_api3","DELETE /users/:user_id/credentials_api3/:credentials_api3_id":"delete_user_credentials_api3","GET /users/:user_id/credentials_embed/:credentials_embed_id":"user_credentials_embed","GET /users/:user_id/credentials_embed":"all_user_credentials_embeds","DELETE /users/:user_id/credentials_embed/:credentials_embed_id":"delete_user_credentials_embed","GET /users/:user_id/credentials_looker_openid":"user_credentials_looker_openid","DELETE /users/:user_id/credentials_looker_openid":"delete_user_credentials_looker_openid","GET /users/:user_id/sessions/:session_id":"user_session","GET /users/:user_id/sessions":"all_user_sessions","DELETE /users/:user_id/sessions/:session_id":"delete_user_session","GET /users/:user_id/access_filters/:access_filter_id":"user_access_filter","GET /users/:user_id/access_filters":"all_user_access_filters","POST /users/:user_id/access_filters":"create_user_access_filter","PATCH /users/:user_id/access_filters/:access_filter_id":"update_user_access_filter","DELETE /users/:user_id/access_filters/:access_filter_id":"delete_user_access_filter","POST /users/:user_id/credentials_email/password_reset":"create_user_credentials_email_password_reset","GET /users/:user_id/roles":"user_roles","PUT /users/:user_id/roles":"set_user_roles","GET /running_queries":"all_running_queries","DELETE /running_queries/:query_slug":"kill_query","GET /scheduled_plans/space/:space_id":"scheduled_plans_by_space","GET /scheduled_plans/look/:look_id":"scheduled_plans_by_look","GET /scheduled_plans/dashboard/:dashboard_id":"scheduled_plans_by_dashboard","GET /scheduled_plans/lookml_dashboard/:lookml_dashboard_id":"scheduled_plans_by_lookml_dashboard","GET /scheduled_plans":"all_scheduled_plans","POST /scheduled_plans":"create_scheduled_plan","GET /scheduled_plans/:scheduled_plan_id":"scheduled_plan","PATCH /scheduled_plans/:scheduled_plan_id":"update_scheduled_plan","DELETE /scheduled_plans/:scheduled_plan_id":"delete_scheduled_plan","GET /dashboards":"all_dashboards","POST /dashboards":"create_dashboard","DELETE /dashboards/:dashboard_id":"delete_dashboard","GET /dashboards/move_plan":"dashboards_move_plan","PATCH /dashboards/move":"move_dashboards","POST /dashboards/copy":"copy_dashboards","PATCH /dashboards/:dashboard_id":"update_dashboard","GET /dashboards/:dashboard_id":"dashboard","GET /dashboards/:dashboard_id/prefetch":"dashboard_prefetch","POST /dashboards/:dashboard_id/prefetch":"create_dashboard_prefetch","GET /permission_sets/:permission_set_id":"permission_set","GET /permission_sets":"all_permission_sets","DELETE /permission_sets/:permission_set_id":"delete_permission_set","PATCH /permission_sets/:permission_set_id":"update_permission_set","POST /permission_sets":"create_permission_set","GET /legacy_features":"all_legacy_features","GET /legacy_features/:legacy_feature_id":"legacy_feature","PATCH /legacy_features/:legacy_feature_id":"update_legacy_feature","POST /login":"login","DELETE /logout":"logout","GET /spaces/:space_id":"space","GET /spaces":"all_spaces","POST /spaces":"create_space","DELETE /spaces/:space_id":"delete_space","PATCH /spaces/:space_id":"update_space","GET /spaces/:space_id/children":"space_children","GET /spaces/:space_id/children/search":"space_children_search","GET /spaces/:space_id/parent":"space_parent","GET /spaces/:space_id/ancestors":"space_ancestors","GET /backup_configuration":"backup_configuration","PATCH /backup_configuration":"update_backup_configuration","POST /projects/:project_id/reset_to_production":"reset_project_to_production","GET /connections":"all_connections","GET /connections/:connection_name":"connection","POST /connections":"create_connection","PATCH /connections/:connection_name":"update_connection","DELETE /connections/:connection_name":"delete_connection","PUT /connections/:connection_name/test":"test_connection","PUT /connections/test":"test_connection_config","GET /dialect_info":"all_dialect_infos","GET /permissions":"all_permissions","GET /sql_queries/:slug":"sql_query","POST /sql_queries":"create_sql_query","GET /saml_config":"saml_config","PATCH /saml_config":"update_saml_config","GET /saml_test_configs/:test_slug":"saml_test_config","POST /saml_test_configs":"create_saml_test_config","DELETE /saml_test_configs/:test_slug":"delete_saml_test_config","POST /parse_saml_idp_metadata":"parse_saml_idp_metadata","POST /fetch_and_parse_saml_idp_metadata":"fetch_and_parse_saml_idp_metadata","GET /uploads/:upload_id/lookml":"get_upload_lookml","GET /uploads/:upload_id":"get_upload","GET /uploads":"all_uploads","DELETE /uploads/:upload_id":"delete_upload","POST /uploads":"create_upload","PUT /uploads/:upload_id":"update_upload","POST /uploads/:upload_id":"load_upload","GET /ldap_config":"ldap_config","PATCH /ldap_config":"update_ldap_config","PUT /ldap_config/test_connection":"test_ldap_config_connection","PUT /ldap_config/test_auth":"test_ldap_config_auth","PUT /ldap_config/test_user_info":"test_ldap_config_user_info","PUT /ldap_config/test_user_auth":"test_ldap_config_user_auth","POST /scheduled_plan_destinations":"create_scheduled_plan_destination","GET /scheduled_plan_destinations/:scheduled_plan_destination_id":"scheduled_plan_destination","PATCH /scheduled_plan_destinations/:scheduled_plan_destination_id":"update_scheduled_plan_destination","DELETE /scheduled_plan_destinations/:scheduled_plan_destination_id":"delete_scheduled_plan_destination","GET /stories":"all_stories","GET /stories/assets":"story_assets","GET /stories/:story_id":"story","GET /model_sets/:model_set_id":"model_set","GET /model_sets":"all_model_sets","DELETE /model_sets/:model_set_id":"delete_model_set","PATCH /model_sets/:model_set_id":"update_model_set","POST /model_sets":"create_model_set","GET /looks":"all_looks","GET /looks/:look_id":"look","GET /looks/:look_id/run/:format":"run_look","GET /looks/:look_id/prefetch":"look_prefetch","POST /looks/:look_id/prefetch":"create_look_prefetch","GET /queries/:query_id":"query","GET /queries/slug/:slug":"query_for_slug","POST /queries":"create_query","GET /queries/:query_id/run/:format":"run_query","POST /queries/run/:format":"run_inline_query","GET /queries/models/:model_name/views/:view_name/run/:format":"run_url_encoded_query","POST /queries/:query_id/run_async":"run_async","POST /queries/run_async":"create_query_and_run_async","GET /embed_config":"embed_config","PATCH /embed_config":"update_embed_config","PUT /embed_config/check_domain":"check_embed_domain","GET /embed_config/secrets":"all_embed_secrets","GET /embed_config/secrets/:embed_secret_id":"embed_secret","POST /embed_config/secrets":"create_embed_secret","PATCH /embed_config/secrets/:embed_secret_id":"update_embed_secret","DELETE /embed_config/secrets/:embed_secret_id":"delete_embed_secret","GET /timezones":"all_timezones","GET /query_tasks/multi_results":"query_task_multi_results","GET /query_tasks/:query_task_id":"query_task","GET /query_tasks/:query_task_id/results":"query_task_results","GET /roles":"all_roles","GET /roles/:role_id":"role","DELETE /roles/:role_id":"delete_role","PATCH /roles/:role_id":"update_role","GET /roles/:role_id/users":"role_users","PUT /roles/:role_id/users":"set_role_users","POST /roles":"create_role"},"definitions":{"Error":{"properties":{"message":{"type":"string","readOnly":true,"description":"Error details"},"documentation_url":{"type":"string","format":"uri","readOnly":true,"description":"Documentation link"}},"required":["message","documentation_url"]},"DashboardBase":{"properties":{"id":{"type":"string","readOnly":true,"description":"Unique Id"},"user_id":{"type":"integer","format":"int64","readOnly":true,"description":"Id of User"},"title":{"type":"string","readOnly":true,"description":"Look Title"},"description":{"type":"string","readOnly":true,"description":"Description"},"readonly":{"type":"boolean","readOnly":true,"description":"Is Read-only"},"hidden":{"type":"boolean","readOnly":true,"description":"Is Hidden"},"refresh_interval":{"type":"string","readOnly":true,"description":"Refresh Interval"},"refresh_interval_to_i":{"type":"integer","format":"int64","readOnly":true,"description":"Refresh Interval as Integer"},"space":{"$ref":"SpaceBase","readOnly":true,"description":"Space"},"model":{"type":"string","readOnly":true,"description":"Model"},"scheduled_plan":{"$ref":"ScheduledPlan","readOnly":true,"description":"ScheduledPlan"}}},"SpaceBase":{"properties":{"id":{"type":"string","readOnly":true,"description":"Unique Id"},"creator_id":{"type":"integer","format":"int64","readOnly":true,"description":"User Id of Creator"},"name":{"type":"string","readOnly":true,"description":"Unique Name"},"is_personal":{"type":"boolean","description":"Space is a user's personal space"}}},"AccessFilter":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"ID of this AccessFilter"},"model":{"type":"string","description":"Model to which this filter applies"},"field":{"type":"string","description":"Field to which this filter applies"},"value":{"type":"string","description":"Value for this filter"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"AccessToken":{"properties":{"access_token":{"type":"string","readOnly":true,"description":"Access Token used for API calls"},"token_type":{"type":"string","readOnly":true,"description":"Type of Token"},"expires_in":{"type":"integer","format":"int64","readOnly":true,"description":"Number of seconds before the token expires"}}},"AsyncQuery":{"properties":{"query_task_id":{"type":"string","readOnly":true,"description":"Unique Id"},"runtime":{"type":"number","format":"double","readOnly":true,"description":"Estimated Runtime"}}},"BackupConfiguration":{"properties":{"type":{"type":"string","description":"Type of backup: looker-s3 or custom-s3"},"custom_s3_bucket":{"type":"string","description":"Name of bucket for custom-s3 backups"},"custom_s3_bucket_region":{"type":"string","description":"Name of region where the bucket is located"},"custom_s3_key":{"type":"string","description":"AWS S3 key used for custom-s3 backups"},"custom_s3_secret":{"type":"string","description":"AWS S3 secret used for custom-s3 backups"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"CredentialsApi3":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"client_id":{"type":"string","readOnly":true,"description":"API key client_id"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"CredentialsApi":{"properties":{"token":{"type":"string","readOnly":true,"description":"API key token"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"CredentialsEmail":{"properties":{"email":{"type":"string","description":"EMail address used for user login"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"logged_in_at":{"type":"string","readOnly":true,"description":"Timestamp for most recent login using credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"password_reset_url":{"type":"string","readOnly":true,"description":"Url with one-time use secret token that the user can use to reset password"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"},"user_url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this user"}}},"CredentialsEmbed":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"external_user_id":{"type":"string","readOnly":true,"description":"Embedder's unique id for the user"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"logged_in_at":{"type":"string","readOnly":true,"description":"Timestamp for most recent login using credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"CredentialsGoogle":{"properties":{"email":{"type":"string","readOnly":true,"description":"EMail address"},"google_user_id":{"type":"string","readOnly":true,"description":"Google's Unique ID for this user"},"domain":{"type":"string","readOnly":true,"description":"Google domain"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"logged_in_at":{"type":"string","readOnly":true,"description":"Timestamp for most recent login using credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"CredentialsLDAP":{"properties":{"email":{"type":"string","readOnly":true,"description":"EMail address"},"ldap_id":{"type":"string","readOnly":true,"description":"LDAP Unique ID for this user"},"ldap_dn":{"type":"string","readOnly":true,"description":"LDAP Distinguished name for this user (as-of the last login)"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"logged_in_at":{"type":"string","readOnly":true,"description":"Timestamp for most recent login using credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"CredentialsLookerOpenid":{"properties":{"email":{"type":"string","readOnly":true,"description":"EMail address used for user login"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"logged_in_at":{"type":"string","readOnly":true,"description":"Timestamp for most recent login using credential"},"logged_in_ip":{"type":"string","readOnly":true,"description":"IP address of client for most recent login using credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"},"user_url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this user"}}},"CredentialsSaml":{"properties":{"email":{"type":"string","readOnly":true,"description":"EMail address"},"saml_user_id":{"type":"string","readOnly":true,"description":"Saml IdP's Unique ID for this user"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"logged_in_at":{"type":"string","readOnly":true,"description":"Timestamp for most recent login using credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"CredentialsTotp":{"properties":{"verified":{"type":"boolean","readOnly":true,"description":"User has verified"},"created_at":{"type":"string","readOnly":true,"description":"Timestamp for the creation of this credential"},"is_disabled":{"type":"boolean","readOnly":true,"description":"Has this credential been disabled?"},"type":{"type":"string","readOnly":true,"description":"Short name for the type of this kind of credential"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"DashboardElement":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"dashboard_id":{"type":"string","readOnly":true,"description":"Id of Dashboard"},"look_id":{"type":"integer","format":"int64","description":"Id Of Look"},"type":{"type":"string","description":"Type"},"listen":{"type":"string","description":"Listen"},"refresh_interval":{"type":"string","description":"Refresh Interval"},"refresh_interval_to_i":{"type":"integer","format":"int64","readOnly":true,"description":"Refresh Interval as integer"},"note_text":{"type":"string","description":"Note Text"},"note_text_as_html":{"type":"string","readOnly":true,"description":"Note Text as Html"},"note_display":{"type":"string","description":"Note Display"},"note_state":{"type":"string","description":"Note State"}}},"DashboardFilter":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"name":{"type":"string","description":"Name of filter"},"title":{"type":"string","description":"Name of title"},"type":{"type":"string","description":"Type of filter: one of date, number, string, or field"},"default_value":{"type":"string","description":"Default value of filter"},"model":{"type":"string","description":"Model of filter (required if type = field)"},"explore":{"type":"string","description":"Explore of filter (required if type = field)"},"dimension":{"type":"string","description":"Dimension of filter (required if type = field)"},"field":{"type":"string","readOnly":true,"description":"Field information"},"listens_to_filters":{"type":"array","items":{"type":"string"},"description":"Array of listeners for faceted filters"}}},"DashboardLayoutComponent":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"dashboard_layout_id":{"type":"integer","format":"int64","readOnly":true,"description":"Id of Dashboard Layout"},"dashboard_element_id":{"type":"integer","format":"int64","description":"Id Of Dashboard Element"},"row":{"type":"integer","format":"int64","description":"Row"},"column":{"type":"integer","format":"int64","description":"Column"},"width":{"type":"integer","format":"int64","description":"Width"},"height":{"type":"integer","format":"int64","description":"Height"}}},"DashboardLayout":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"dashboard_id":{"type":"string","readOnly":true,"description":"Id of Dashboard"},"type":{"type":"string","description":"Type"},"active":{"type":"boolean","description":"Is Active"},"column_width":{"type":"integer","format":"int64","description":"Column Width"},"width":{"type":"integer","format":"int64","description":"Width"},"components":{"type":"array","items":{"$ref":"DashboardLayoutComponent"},"readOnly":true,"description":"Components"}}},"Dashboard":{"properties":{"id":{"type":"string","readOnly":true,"description":"Unique Id"},"user_id":{"type":"integer","format":"int64","readOnly":true,"description":"Id of User"},"title":{"type":"string","description":"Look Title"},"description":{"type":"string","description":"Description"},"readonly":{"type":"boolean","readOnly":true,"description":"Is Read-only"},"hidden":{"type":"boolean","description":"Is Hidden"},"refresh_interval":{"type":"string","description":"Refresh Interval"},"refresh_interval_to_i":{"type":"integer","format":"int64","readOnly":true,"description":"Refresh Interval as Integer"},"space":{"$ref":"SpaceBase","readOnly":true,"description":"Space"},"load_configuration":{"type":"string","description":"configuration option that governs how dashboard loading will happen."},"model":{"type":"string","readOnly":true,"description":"Model"},"space_id":{"type":"integer","format":"int64","description":"(Write-only) Id of Space"},"elements":{"type":"array","items":{"$ref":"DashboardElement"},"readOnly":true,"description":"Elements"},"layouts":{"type":"array","items":{"$ref":"DashboardLayout"},"readOnly":true,"description":"Layouts"},"filters":{"type":"array","items":{"$ref":"DashboardFilter"},"description":"Filters"},"background_color":{"type":"string","description":"Background color"},"show_title":{"type":"boolean","description":"Show title"},"title_color":{"type":"string","description":"Title color"},"show_filters_bar":{"type":"boolean","description":"Show filters bar"},"tile_background_color":{"type":"string","description":"Tile background color"},"tile_text_color":{"type":"string","description":"Tile text color"},"tile_separator_color":{"type":"string","description":"Tile separator color"},"tile_border_radius":{"type":"integer","format":"int64","description":"Tile border radius"},"show_tile_shadow":{"type":"boolean","description":"Show tile shadow "}}},"DBConnectionBase":{"properties":{"name":{"type":"string","readOnly":true,"description":"Name of the connection. Also used as the unique identifier"},"dialect":{"$ref":"Dialect","readOnly":true,"description":"(Read-only) SQL Dialect details"},"snippets":{"type":"string","readOnly":true,"description":"SQL Runner snippets for this connection"}}},"DBConnection":{"properties":{"name":{"type":"string","description":"Name of the connection. Also used as the unique identifier"},"host":{"type":"string","description":"Host name/address of server"},"port":{"type":"string","description":"Port number on server"},"username":{"type":"string","description":"Username for server authentication"},"password":{"type":"string","description":"(Write-only) Password for server authentication"},"certificate":{"type":"string","description":"(Write-only) Base64 encoded Certificate body for server authentication (when appropriate for dialect)."},"database":{"type":"string","description":"Database name"},"db_timezone":{"type":"string","description":"Time zone of database"},"query_timezone":{"type":"string","description":"Timezone to use in queries"},"schema":{"type":"string","description":"Scheme name"},"max_connections":{"type":"integer","format":"int64","description":"Maximum number of concurrent connection to use"},"ssl":{"type":"boolean","description":"Use SSL/TLS when connecting to server"},"verify_ssl":{"type":"boolean","description":"Verify the SSL"},"tmp_db_name":{"type":"string","description":"Name of temporary database (if used)"},"jdbc_additional_params":{"type":"string","description":"Additional params to add to JDBC connection string"},"pool_timeout":{"type":"integer","format":"int64","description":"Pool Timeout"},"dialect":{"$ref":"Dialect","readOnly":true,"description":"(Read-only) SQL Dialect details"},"dialect_name":{"type":"string","description":"(Read/Write) SQL Dialect name"},"snippets":{"type":"string","readOnly":true,"description":"SQL Runner snippets for this connection"},"created_at":{"type":"string","readOnly":true,"description":"Creation date for this connection"},"user_id":{"type":"string","readOnly":true,"description":"Id of user who last modified this connection configuration"},"example":{"type":"boolean","readOnly":true,"description":"Is this an example connection"}}},"DBConnectionTestResult":{"properties":{"name":{"type":"string","readOnly":true,"description":"Name of test"},"status":{"type":"string","readOnly":true,"description":"Result code of test"},"message":{"type":"string","readOnly":true,"description":"Result message of test"},"connection_string":{"type":"string","readOnly":true,"description":"JDBC connection string. (only populated in the 'connect' test)"}}},"DialectInfo":{"properties":{"name":{"type":"string","readOnly":true,"description":"The name of the dialect"},"label":{"type":"string","readOnly":true,"description":"The human-readable label of the connection"},"label_for_database_equivalent":{"type":"string","readOnly":true,"description":"What the dialect calls the equivalent of a normal SQL table"},"default_port":{"type":"string","readOnly":true,"description":"Default port number"},"default_max_connections":{"type":"string","readOnly":true,"description":"Default number max connections"},"supported_options":{"$ref":"DialectInfoOptions","readOnly":true,"description":"Option support details"},"installed":{"type":"boolean","readOnly":true,"description":"Is the supporting driver installed"}}},"DialectInfoOptions":{"properties":{"timezone":{"type":"boolean","readOnly":true,"description":"Has timezone support"},"schema":{"type":"boolean","readOnly":true,"description":"Has schema support"},"ssl":{"type":"boolean","readOnly":true,"description":"Has SSL support"},"auth":{"type":"boolean","readOnly":true,"description":"Has auth support"},"host":{"type":"boolean","readOnly":true,"description":"Has host support"},"tmp_table":{"type":"boolean","readOnly":true,"description":"Has tmp table support"},"project_name":{"type":"boolean","readOnly":true,"description":"Has project name support"},"oauth_credentials":{"type":"boolean","readOnly":true,"description":"Has OAuth support"},"additional_params":{"type":"boolean","readOnly":true,"description":"Has additional params support"},"username_required":{"type":"boolean","readOnly":true,"description":"Username is required"}}},"Dialect":{"properties":{"name":{"type":"string","readOnly":true,"description":"The name of the dialect"},"label":{"type":"string","readOnly":true,"description":"The human-readable label of the connection"},"supports_cost_estimate":{"type":"boolean","readOnly":true,"description":"Whether the dialect supports query cost estimates"},"supports_upload_tables":{"type":"boolean","readOnly":true,"description":"Whether the dialect supports uploading tables"},"persistent_table_indexes":{"type":"string","readOnly":true,"description":"PDT index columns"},"persistent_table_sortkeys":{"type":"string","readOnly":true,"description":"PDT sortkey columns"},"persistent_table_distkey":{"type":"string","readOnly":true,"description":"PDT distkey column"},"supports_streaming":{"type":"boolean","readOnly":true,"description":"Suports streaming results"},"automatically_run_sql_runner_snippets":{"type":"boolean","readOnly":true,"description":"Should SQL Runner snippets automatically be run"},"connection_tests":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Array of names of the tests that can be run on a connection using this dialect"}}},"EmbedCheckDomainResult":{"properties":{"allowed":{"type":"boolean","readOnly":true,"description":"Is domain allowed"}}},"EmbedConfig":{"properties":{"sso_auth_enabled":{"type":"boolean","description":"Is SSO embedding enabled for this Looker"},"secrets":{"type":"array","items":{"$ref":"EmbedSecret"},"readOnly":true,"description":"Array of embed secrets"},"domain_whitelist":{"type":"array","items":{"type":"string"},"description":"List of domains to whitelist for embedding"}}},"EmbedSecret":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"user_id":{"type":"integer","format":"int64","readOnly":true,"description":"Id of user who created this secret"},"created_at":{"type":"string","readOnly":true,"description":"When secret was created"},"secret":{"type":"string","readOnly":true,"description":"Secret for use with SSO embedding"},"algorithm":{"type":"string","description":"Signing algorithm to use with this secret"},"enabled":{"type":"boolean","description":"Is this secret currently enabled"}}},"ValidationError":{"properties":{"message":{"type":"string","readOnly":true},"errors":{"type":"string","readOnly":true},"documentation_url":{"type":"string","format":"uri","readOnly":true,"description":"Documentation link"}},"required":["message","documentation_url"]},"LDAPConfig":{"properties":{"enabled":{"type":"boolean","description":"Enable/Disable LDAP authentication for the server"},"connection_host":{"type":"string","description":"LDAP server hostname"},"connection_port":{"type":"string","description":"LDAP host port"},"connection_tls":{"type":"boolean","description":"Use Transport Layer Security"},"auth_username":{"type":"string","description":"Distinguished name of LDAP account used to access the LDAP server"},"auth_password":{"type":"string","description":"(Write-only) Password for the LDAP account used to access the LDAP server"},"has_auth_password":{"type":"boolean","readOnly":true,"description":"(Read-only) Has the password been set for the LDAP account used to access the LDAP server"},"user_bind_base_dn":{"type":"string","description":"Distinguished name of LDAP node used as the base for user searches"},"user_id_attribute_names":{"type":"string","description":"Name(s) of user record attributes used for matching user login id (comma separated list)"},"user_objectclass":{"type":"string","description":"(Optional) Name of user record objectclass used for finding user during login id"},"user_attribute_map_email":{"type":"string","description":"Name of user record attributes used to indicate email address field"},"user_attribute_map_first_name":{"type":"string","description":"Name of user record attributes used to indicate first name"},"user_attribute_map_last_name":{"type":"string","description":"Name of user record attributes used to indicate last name"},"user_attribute_map_ldap_id":{"type":"string","description":"Name of user record attributes used to indicate unique record id"},"merge_new_users_by_email":{"type":"boolean","description":"Merge first-time ldap login to existing user account by email addresses. When a user logs in for the first time via ldap this option will connect this user into their existing account by finding the account with a matching email address. Otherwise a new user account will be created for the user."},"alternate_email_login_allowed":{"type":"boolean","description":"Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled."},"modified_at":{"type":"string","readOnly":true,"description":"When this config was last modified"},"modified_by":{"type":"string","readOnly":true,"description":"User id of user who last modified this config"},"default_new_user_roles":{"$ref":"Role","readOnly":true,"description":"(Read-only) Roles that will be applied to new users the first time they login via LDAP"},"default_new_user_role_ids":{"type":"array","items":{"type":"integer","format":"int64"},"description":"(Write-only) Array of ids of roles that will be applied to new users the first time they login via LDAP"},"set_roles_from_groups":{"type":"boolean","description":"Set user roles in Looker based on groups from LDAP"},"groups":{"$ref":"LDAPGroupRead","readOnly":true,"description":"(Read-only) Array of mappings between LDAP Groups and Looker Roles"},"groups_with_role_ids":{"$ref":"LDAPGroupWrite","description":"(Write-only) Array of mappings between LDAP Groups and arrays of Looker Role ids"},"auth_requires_role":{"type":"boolean","description":"Users will not be allowed to login at all unless a role for them is found in LDAP if set to true"},"groups_finder_type":{"type":"string","description":"Identifier for a strategy for how Looker will search for groups in the LDAP server"},"groups_base_dn":{"type":"string","description":"Base dn for finding groups in LDAP searches"},"groups_member_attribute":{"type":"string","description":"LDAP Group attribute that signifies the members of the groups. Most commonly 'member'"},"groups_user_attribute":{"type":"string","description":"LDAP Group attribute that signifies the user in a group. Most commonly 'dn'"},"groups_objectclasses":{"type":"string","description":"Optional comma-separated list of supported LDAP objectclass for groups when doing groups searches"},"force_no_page":{"type":"boolean","description":"Don't attempt to do LDAP search result paging (RFC 2696) even if the LDAP server claims to support it."},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"LDAPConfigTestResult":{"properties":{"status":{"type":"string","readOnly":true,"description":"Test status code: always 'success' or 'error'"},"message":{"type":"string","readOnly":true,"description":"Short human readable test about the result"},"details":{"type":"string","readOnly":true,"description":"Additional details for error cases"},"user":{"$ref":"LDAPUser","readOnly":true,"description":"User details from LDAP server for auth tests"},"trace":{"type":"string","readOnly":true,"description":"A more detailed trace incremental results during auth tests"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to ldap config"}}},"LDAPGroupRead":{"properties":{"name":{"type":"string","readOnly":true,"description":"Name of group in LDAP"},"roles":{"type":"array","items":{"$ref":"Role"},"readOnly":true,"description":"Looker Roles"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to ldap config"}}},"LDAPGroupWrite":{"properties":{"name":{"type":"string","description":"Name of group in LDAP"},"role_ids":{"type":"array","items":{"type":"integer","format":"int64"},"description":"Looker Role Ids"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to ldap config"}}},"LDAPUser":{"properties":{"email":{"type":"string","readOnly":true,"description":"Primary email address"},"first_name":{"type":"string","readOnly":true,"description":"First name"},"last_name":{"type":"string","readOnly":true,"description":"Last Name"},"ldap_id":{"type":"string","readOnly":true,"description":"LDAP's Unique ID for the user"},"all_emails":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Array of user's email addresses and aliases for use in migration"},"ldap_dn":{"type":"string","readOnly":true,"description":"LDAP's distinguished name for the user record"},"roles":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Array of user's roles (role names only)"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to ldap config"}}},"LegacyFeature":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"name":{"type":"string","readOnly":true,"description":"Name"},"description":{"type":"string","readOnly":true,"description":"Description"},"enabled_locally":{"type":"boolean","description":"Whether this feature has been enabled by a user"},"enabled":{"type":"boolean","readOnly":true,"description":"Whether this feature is currently enabled"},"disallowed_as_of_version":{"type":"string","readOnly":true,"description":"Looker version where this feature became a legacy feature"},"end_of_life_version":{"type":"string","readOnly":true,"description":"Future Looker version where this feature will be removed"},"documentation_url":{"type":"string","readOnly":true,"description":"URL for documentation about this feature"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"LookBasic":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"title":{"type":"string","readOnly":true,"description":"Look Title"}}},"Look":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"title":{"type":"string","description":"Look Title"},"user":{"$ref":"UserIdOnly","readOnly":true,"description":"User"},"query_id":{"type":"integer","format":"int64","description":"Query Id"},"description":{"type":"string","description":"Description"},"short_url":{"type":"string","readOnly":true,"description":"Short Url"},"space":{"$ref":"SpaceBase","readOnly":true,"description":"Space of this Look"},"public":{"type":"boolean","readOnly":true,"description":"Is Public"},"public_slug":{"type":"string","readOnly":true,"description":"Public Slug"},"user_id":{"type":"integer","format":"int64","description":"(Write-only) User Id"},"space_id":{"type":"integer","format":"int64","description":"(Write-only) Space Id"},"model":{"type":"string","readOnly":true,"description":"Model"},"public_url":{"type":"string","readOnly":true,"description":"Public Url"},"embed_url":{"type":"string","readOnly":true,"description":"Embed Url"},"image_embed_url":{"type":"string","readOnly":true,"description":"Image Embed Url"},"google_spreadsheet_formula":{"type":"string","readOnly":true,"description":"Google Spreadsheet Formula"},"excel_file_url":{"type":"string","readOnly":true,"description":"Excel File Url"}}},"LookWithQuery":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"title":{"type":"string","description":"Look Title"},"user":{"$ref":"UserIdOnly","readOnly":true,"description":"User"},"query_id":{"type":"integer","format":"int64","description":"Query Id"},"description":{"type":"string","description":"Description"},"short_url":{"type":"string","readOnly":true,"description":"Short Url"},"space":{"$ref":"SpaceBase","readOnly":true,"description":"Space of this Look"},"public":{"type":"boolean","readOnly":true,"description":"Is Public"},"public_slug":{"type":"string","readOnly":true,"description":"Public Slug"},"user_id":{"type":"integer","format":"int64","description":"(Write-only) User Id"},"space_id":{"type":"integer","format":"int64","description":"(Write-only) Space Id"},"model":{"type":"string","readOnly":true,"description":"Model"},"public_url":{"type":"string","readOnly":true,"description":"Public Url"},"embed_url":{"type":"string","readOnly":true,"description":"Embed Url"},"google_spreadsheet_formula":{"type":"string","readOnly":true,"description":"Google Spreadsheet Formula"},"excel_file_url":{"type":"string","readOnly":true,"description":"Excel File Url"},"url":{"type":"string","readOnly":true,"description":"Url"},"query":{"$ref":"Query","readOnly":true,"description":"Query"}}},"LookWithDashboards":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"title":{"type":"string","description":"Look Title"},"user":{"$ref":"UserIdOnly","readOnly":true,"description":"User"},"query_id":{"type":"integer","format":"int64","description":"Query Id"},"description":{"type":"string","description":"Description"},"short_url":{"type":"string","readOnly":true,"description":"Short Url"},"space":{"$ref":"SpaceBase","readOnly":true,"description":"Space of this Look"},"public":{"type":"boolean","readOnly":true,"description":"Is Public"},"public_slug":{"type":"string","readOnly":true,"description":"Public Slug"},"user_id":{"type":"integer","format":"int64","description":"(Write-only) User Id"},"space_id":{"type":"integer","format":"int64","description":"(Write-only) Space Id"},"model":{"type":"string","readOnly":true,"description":"Model"},"public_url":{"type":"string","readOnly":true,"description":"Public Url"},"embed_url":{"type":"string","readOnly":true,"description":"Embed Url"},"google_spreadsheet_formula":{"type":"string","readOnly":true,"description":"Google Spreadsheet Formula"},"excel_file_url":{"type":"string","readOnly":true,"description":"Excel File Url"},"dashboards":{"type":"array","items":{"$ref":"DashboardBase"},"readOnly":true,"description":"Dashboards"}}},"LookMovePlan":{"properties":{"looks_to_move":{"type":"array","items":{"$ref":"LookBasic"},"readOnly":true},"looks_to_copy":{"type":"array","items":{"$ref":"LookBasic"},"readOnly":true}}},"LookmlSpace":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"creator_id":{"type":"integer","format":"int64","readOnly":true,"description":"User Id of Creator"},"name":{"type":"string","readOnly":true,"description":"Unique Name"},"is_personal":{"type":"boolean","description":"Space is a user's personal space"},"dashboards":{"type":"array","items":{"$ref":"DashboardBase"},"readOnly":true,"description":"Dashboards"}}},"ModelSet":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"name":{"type":"string","description":"Name of ModelSet"},"models":{"type":"array","items":{"type":"string"}},"built_in":{"type":"boolean","readOnly":true},"all_access":{"type":"boolean","readOnly":true},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"Permission":{"properties":{"permission":{"type":"string","readOnly":true,"description":"Permission symbol"},"parent":{"type":"string","readOnly":true,"description":"Dependency parent symbol"},"description":{"type":"string","readOnly":true,"description":"Description"}}},"PermissionSet":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"name":{"type":"string","description":"Name of PermissionSet"},"permissions":{"type":"array","items":{"type":"string"}},"built_in":{"type":"boolean","readOnly":true},"all_access":{"type":"boolean","readOnly":true},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"PrefetchDashboardFilterValue":{"properties":{"name":{"type":"string","readOnly":true,"description":"Dashboard filter name."},"value":{"type":"string","readOnly":true,"description":"Dashboard filter value"}}},"PrefetchAccessFilterValue":{"properties":{"model":{"type":"string","readOnly":true,"description":"Access filter model name."},"field":{"type":"string","readOnly":true,"description":"Access filter field name."},"value":{"type":"string","readOnly":true,"description":"Access filter value"}}},"PrefetchMapper":{"properties":{"ttl":{"type":"integer","format":"int64","readOnly":true,"description":"Number of seconds prefetch will live for."},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"Time when prefetch was created."},"computation_time":{"type":"number","format":"float","readOnly":true,"description":"Number of seconds it took to compute results for prefetch."},"hit_count":{"type":"integer","format":"int64","readOnly":true,"description":"Number of times prefetch has been accessed."},"touched_at":{"type":"string","format":"date-time","readOnly":true,"description":"Time when prefetch was last accessed."},"value":{"type":"array","items":{"$ref":"QueryResult"},"readOnly":true,"description":"data associated with the queries stored by prefetching the data"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"PrefetchLookRequestMapper":{"properties":{"ttl":{"type":"integer","format":"int64","readOnly":true,"description":"Number of seconds prefetch will live for."},"access_filters":{"type":"array","items":{"$ref":"PrefetchAccessFilterValue"},"readOnly":true,"description":"Access filters to apply when running queries for prefetch."},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"Time when prefetch was created."},"computation_time":{"type":"number","format":"float","readOnly":true,"description":"Number of seconds it took to compute results for prefetch."},"hit_count":{"type":"integer","format":"int64","readOnly":true,"description":"Number of times prefetch has been accessed."},"touched_at":{"type":"string","format":"date-time","readOnly":true,"description":"Time when prefetch was last accessed."}}},"PrefetchDashboardRequestMapper":{"properties":{"ttl":{"type":"integer","format":"int64","readOnly":true,"description":"Number of seconds prefetch will live for."},"access_filters":{"type":"array","items":{"$ref":"PrefetchAccessFilterValue"},"readOnly":true,"description":"Access filters to apply when running queries for prefetch."},"dashboard_filters":{"type":"array","items":{"$ref":"PrefetchDashboardFilterValue"},"readOnly":true,"description":"Dashboard filters to apply when running queries for prefetch."},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"Time when prefetch was created."},"computation_time":{"type":"number","format":"float","readOnly":true,"description":"Number of seconds it took to compute results for prefetch."},"hit_count":{"type":"integer","format":"int64","readOnly":true,"description":"Number of times prefetch has been accessed."},"touched_at":{"type":"string","format":"date-time","readOnly":true,"description":"Time when prefetch was last accessed."}}},"ProjectListItem":{"properties":{"id":{"type":"string","readOnly":true}}},"Query":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"model":{"type":"string","description":"Model"},"view":{"type":"string","description":"View"},"fields":{"type":"array","items":{"type":"string"},"description":"Fields"},"pivots":{"type":"array","items":{"type":"string"},"description":"Pivots"},"filters":{"type":"object","additionalProperties":{"type":"string"},"description":"Filters"},"sorts":{"type":"array","items":{"type":"string"},"description":"Sorts"},"limit":{"type":"string","description":"Limit"},"column_limit":{"type":"string","description":"Column Limit"},"total":{"type":"boolean","description":"Total"},"row_total":{"type":"string","description":"Raw Total"},"runtime":{"type":"number","format":"double","description":"Runtime"},"vis_config":{"type":"object","additionalProperties":{"type":"string"},"description":"Visualization Config"},"filter_config":{"type":"object","additionalProperties":{"type":"string"},"description":"Filter Config"},"visible_ui_sections":{"type":"string","description":"Visible UI Sections"},"slug":{"type":"string","readOnly":true,"description":"Slug"},"dynamic_fields":{"type":"array","items":{"type":"string"},"description":"Dynamic Fields"},"client_id":{"type":"string","description":"Client Id"},"share_url":{"type":"string","readOnly":true,"description":"Share Url"},"expanded_share_url":{"type":"string","readOnly":true,"description":"Expanded Share Url"},"query_timezone":{"type":"string","description":"Query Timezone"}}},"QueryResult":{"properties":{}},"Role":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"name":{"type":"string","description":"Name of Role"},"permission_set":{"$ref":"PermissionSet"},"model_set":{"$ref":"ModelSet"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"},"users_url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get list of users with this role"}}},"RunningQueries":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"user":{"$ref":"UserPublic","readOnly":true,"description":"User who initiated the query"},"created_at":{"type":"string","readOnly":true,"description":"Date/Time Query was initiated"},"completed_at":{"type":"string","readOnly":true,"description":"Date/Time Query was completed"},"query_id":{"type":"string","readOnly":true,"description":"Query Id"},"source":{"type":"string","readOnly":true,"description":"Source (look, dashboard, queryrunner, explore, etc.)"},"node_id":{"type":"string","readOnly":true,"description":"Node Id"},"slug":{"type":"string","readOnly":true,"description":"Slug"},"query_task_id":{"type":"string","readOnly":true,"description":"ID of a Query Task"},"cache_key":{"type":"string","readOnly":true,"description":"Cache Key"},"connection_name":{"type":"string","readOnly":true,"description":"Connection"},"dialect":{"type":"string","readOnly":true,"description":"Dialect"},"connection_id":{"type":"string","readOnly":true,"description":"Connection ID"},"message":{"type":"string","readOnly":true,"description":"Additional Information(Error message or verbose status)"},"status":{"type":"string","readOnly":true,"description":"Status description"}}},"SamlConfig":{"properties":{"enabled":{"type":"boolean","description":"Enable/Disable Saml authentication for the server"},"idp_cert":{"type":"string","description":"Identify Provider Certificate (provided by IdP)"},"idp_url":{"type":"string","description":"Identify Provider Url (provided by IdP)"},"idp_issuer":{"type":"string","description":"Identify Provider Issuer (provided by IdP)"},"idp_audience":{"type":"string","description":"Identify Provider Audience (set in IdP config). Optional in Looker. Set this only if you want Looker to validate the audience value returned by the IdP."},"user_attribute_map_email":{"type":"string","description":"Name of user record attributes used to indicate email address field"},"user_attribute_map_first_name":{"type":"string","description":"Name of user record attributes used to indicate first name"},"user_attribute_map_last_name":{"type":"string","description":"Name of user record attributes used to indicate last name"},"new_user_migration_types":{"type":"string","description":"Merge first-time saml login to existing user account by email addresses. When a user logs in for the first time via saml this option will connect this user into their existing account by finding the account with a matching email address by testing the given types of credentials for existing users. Otherwise a new user account will be created for the user. This list (if provided) must be a comma separated list of string like 'email,ldap,google'"},"alternate_email_login_allowed":{"type":"boolean","description":"Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled."},"test_slug":{"type":"string","readOnly":true,"description":"Slug to identify configurations that are created in order to run a Saml config test"},"modified_at":{"type":"string","readOnly":true,"description":"When this config was last modified"},"modified_by":{"type":"string","readOnly":true,"description":"User id of user who last modified this config"},"default_new_user_roles":{"$ref":"Role","readOnly":true,"description":"(Read-only) Roles that will be applied to new users the first time they login via Saml"},"default_new_user_role_ids":{"type":"array","items":{"type":"integer","format":"int64"},"description":"(Write-only) Array of ids of roles that will be applied to new users the first time they login via Saml"},"set_roles_from_groups":{"type":"boolean","description":"Set user roles in Looker based on groups from Saml"},"groups_attribute":{"type":"string","description":"Name of user record attributes used to indicate groups"},"groups":{"$ref":"SamlGroupRead","readOnly":true,"description":"(Read-only) Array of mappings between Saml Groups and Looker Roles"},"groups_with_role_ids":{"$ref":"SamlGroupWrite","description":"(Write-only) Array of mappings between Saml Groups and arrays of Looker Role ids"},"auth_requires_role":{"type":"boolean","description":"Users will not be allowed to login at all unless a role for them is found in Saml if set to true"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"SamlGroupRead":{"properties":{"name":{"type":"string","readOnly":true,"description":"Name of group in Saml"},"roles":{"type":"array","items":{"$ref":"Role"},"readOnly":true,"description":"Looker Roles"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to saml config"}}},"SamlGroupWrite":{"properties":{"name":{"type":"string","description":"Name of group in Saml"},"role_ids":{"type":"array","items":{"type":"integer","format":"int64"},"description":"Looker Role Ids"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to saml config"}}},"SamlMetadataParseResult":{"properties":{"idp_issuer":{"type":"string","readOnly":true,"description":"Identify Provider Issuer"},"idp_url":{"type":"string","readOnly":true,"description":"Identify Provider Url"},"idp_cert":{"type":"string","readOnly":true,"description":"Identify Provider Certificate"}}},"ScheduledJobDestination":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"scheduled_job_id":{"type":"integer","format":"int64","readOnly":true,"description":"Id of scheduled job"},"format":{"type":"string","readOnly":true,"description":"Format requested by the given destination (i.e. PDF, etc.)"},"address":{"type":"string","readOnly":true,"description":"Address for recipient (only email addresses supported for now)"},"type":{"type":"string","readOnly":true,"description":"Type of the address (only 'email' is supported for now)"}}},"ScheduledJob":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"status":{"type":"string","readOnly":true,"description":"Status of the job"},"status_detail":{"type":"string","readOnly":true,"description":"Optional message describing status of the job"},"scheduled_job_stage":{"type":"array","items":{"$ref":"ScheduledJobStage"},"readOnly":true,"description":"Detailed information about the job stage"},"row_limit_reached":{"type":"string","readOnly":true,"description":"Whether the row limit was reached when running"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"When the ScheduledJob started"},"finalized_at":{"type":"string","format":"date-time","readOnly":true,"description":"When the ScheduledJob finished"},"user":{"$ref":"UserPublic","readOnly":true,"description":"User who owns this ScheduledPlan"},"look_id":{"type":"integer","format":"int64","readOnly":true,"description":"Id of a look"},"dashboard_id":{"type":"integer","format":"int64","readOnly":true,"description":"Id of a dashboard"},"lookml_dashboard_id":{"type":"string","readOnly":true,"description":"Id of a LookML dashboard"},"require_results":{"type":"boolean","readOnly":true,"description":"Delivery should occur if running the dashboard or look returns results"},"require_no_results":{"type":"boolean","readOnly":true,"description":"Delivery should occur if the dashboard look does not return results"},"require_change":{"type":"boolean","readOnly":true,"description":"Delivery should occur if data have changed since the last run"},"crontab":{"type":"string","readOnly":true,"description":"Vixie-Style crontab specification when to run"},"timezone":{"type":"string","readOnly":true,"description":"Timezone for interpreting the specified crontab (default is Looker instance timezone)"},"data_slug":{"type":"string","readOnly":true,"description":"Used for caching"},"data_signature":{"type":"string","readOnly":true,"description":"Used for caching"},"name":{"type":"string","readOnly":true,"description":"Name"},"title":{"type":"string","readOnly":true,"description":"Title"},"scheduled_job_destination":{"type":"array","items":{"$ref":"ScheduledJobDestination"},"readOnly":true,"description":"Scheduled job destinations"},"scheduled_plan":{"$ref":"ScheduledPlan","readOnly":true,"description":"ScheduledPlan that initiated the ScheduledJob"},"runtime":{"type":"integer","format":"int64","readOnly":true,"description":"Runtime in seconds"},"looker_url":{"type":"string","readOnly":true,"description":"Url for the scheduled entity"}}},"ScheduledJobStage":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"scheduled_job_id":{"type":"integer","format":"int64","readOnly":true,"description":"Job this stage describes"},"node_id":{"type":"integer","format":"int64","readOnly":true,"description":"Node Id stage was run on"},"stage":{"type":"string","readOnly":true,"description":"Stage"},"started_at":{"type":"string","format":"date-time","readOnly":true,"description":"Time when the stage was started"},"completed_at":{"type":"string","format":"date-time","readOnly":true,"description":"Time whent the stage was completed"}}},"ScheduledPlanDestination":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"scheduled_plan_id":{"type":"integer","format":"int64","description":"Id of a scheduled plan you own"},"format":{"type":"string","description":"Format requested by the given destination (i.e. PDF, etc.)"},"address":{"type":"string","description":"Address for recipient (only email addresses supported for now)"},"type":{"type":"string","description":"Type of the address (only 'email' is supported for now)"}}},"ScheduledPlan":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"name":{"type":"string","description":"Name"},"title":{"type":"string","readOnly":true,"description":"Title"},"user":{"$ref":"UserPublic","readOnly":true,"description":"User who owns this ScheduledPlan"},"enabled":{"type":"boolean","description":"Whether the ScheduledPlan is enabled"},"last_run_at":{"type":"string","format":"date-time","readOnly":true,"description":"When the ScheduledPlan was last run"},"next_run_at":{"type":"string","format":"date-time","description":"When the ScheduledPlan will next run"},"look_id":{"type":"integer","format":"int64","description":"Id of a look"},"dashboard_id":{"type":"integer","format":"int64","description":"Id of a dashboard"},"lookml_dashboard_id":{"type":"string","description":"Id of a LookML dashboard"},"require_results":{"type":"boolean","description":"Delivery should occur if running the dashboard or look returns results"},"require_no_results":{"type":"boolean","description":"Delivery should occur if the dashboard look does not return results"},"require_change":{"type":"boolean","description":"Delivery should occur if data have changed since the last run"},"crontab":{"type":"string","description":"Vixie-Style crontab specification when to run"},"timezone":{"type":"string","description":"Timezone for interpreting the specified crontab (default is Looker instance timezone)"},"scheduled_plan_destination":{"type":"array","items":{"$ref":"ScheduledPlanDestination"},"readOnly":true,"description":"Scheduled plan destinations"}}},"Session":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"ip_address":{"type":"string","readOnly":true,"description":"IP address of user when this session was initiated"},"browser":{"type":"string","readOnly":true,"description":"User's browser type"},"operating_system":{"type":"string","readOnly":true,"description":"User's Operating System"},"city":{"type":"string","readOnly":true,"description":"City component of user location (derived from IP address)"},"state":{"type":"string","readOnly":true,"description":"State component of user location (derived from IP address)"},"country":{"type":"string","readOnly":true,"description":"Country component of user location (derived from IP address)"},"credentials_type":{"type":"string","readOnly":true,"description":"Type of credentials used for logging in this session"},"extended_at":{"type":"string","readOnly":true,"description":"Time when this session was last extended by the user"},"extended_count":{"type":"integer","format":"int64","readOnly":true,"description":"Number of times this session was extended"},"sudo_user_id":{"type":"integer","format":"int64","readOnly":true,"description":"Actual user in the case when this session represents one user sudo'ing as another"},"created_at":{"type":"string","readOnly":true,"description":"Time when this session was initiated"},"expires_at":{"type":"string","readOnly":true,"description":"Time when this session will expire"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"Space":{"properties":{"id":{"type":"string","readOnly":true,"description":"Unique Id"},"creator_id":{"type":"integer","format":"int64","readOnly":true,"description":"User Id of Creator"},"name":{"type":"string","readOnly":true,"description":"Unique Name"},"is_personal":{"type":"boolean","description":"Space is a user's personal space"},"parent_id":{"type":"integer","format":"int64","description":"(Write-only) Id of Parent"},"looks":{"type":"array","items":{"$ref":"LookWithDashboards"},"readOnly":true,"description":"Looks"},"dashboards":{"type":"array","items":{"$ref":"DashboardBase"},"readOnly":true,"description":"Dashboards"}}},"SqlQuery":{"properties":{"slug":{"type":"string","readOnly":true,"description":"The identifier of the SQL query"},"last_runtime":{"type":"number","format":"float","readOnly":true,"description":"Number of seconds this query took to run the most recent time it was run"},"run_count":{"type":"integer","format":"int64","readOnly":true,"description":"Number of times this query has been run"},"browser_limit":{"type":"integer","format":"int64","readOnly":true,"description":"Maximum number of rows this query will display on the SQL Runner page"},"sql":{"type":"string","readOnly":true,"description":"SQL query text"},"last_run_at":{"type":"string","readOnly":true,"description":"The most recent time this query was run"},"connection":{"$ref":"DBConnectionBase","readOnly":true,"description":"Connection this query uses"},"creator":{"$ref":"UserPublic","readOnly":true,"description":"User who created this SQL query"},"explore_url":{"type":"string","readOnly":true,"description":"Explore page URL for this SQL query"},"plaintext":{"type":"boolean","readOnly":true,"description":"Should this query be rendered as plain text"}}},"StoryAssets":{"properties":{"js":{"type":"string","readOnly":true},"css":{"type":"string","readOnly":true}}},"StoryListItem":{"properties":{"id":{"type":"string","readOnly":true,"description":"Unique Id"},"title":{"type":"string","readOnly":true},"file_id":{"type":"string","readOnly":true},"project":{"$ref":"ProjectListItem","readOnly":true}}},"Story":{"properties":{"id":{"type":"string","readOnly":true,"description":"Unique Id"},"title":{"type":"string","readOnly":true},"file_id":{"type":"string","readOnly":true},"project":{"$ref":"ProjectListItem","readOnly":true},"html":{"type":"string","readOnly":true}}},"Timezone":{"properties":{"value":{"type":"string","readOnly":true,"description":"Timezone"},"label":{"type":"string","readOnly":true,"description":"Description of timezone"},"group":{"type":"string","readOnly":true,"description":"Timezone group (e.g Common, Other, etc.)"}}},"UploadTable":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"db_connection_id":{"type":"integer","format":"int64","readOnly":true,"description":"Id of the DB Connection"},"db_connection_name":{"type":"string","readOnly":true,"description":"Name of the DB Connection"},"table_name":{"type":"string","readOnly":true,"description":"What the table will be named"},"view_name":{"type":"string","description":"What to name the new table"},"file_type":{"type":"string","description":"Type of the uploaded file"},"definition":{"type":"object","additionalProperties":{"type":"string"},"description":"Definition of the table and uploaded file"},"created_at":{"type":"string","readOnly":true,"description":"Date/Time this record was created"},"built_at":{"type":"string","readOnly":true,"description":"Relative time in English the table was built for this upload"},"created_at_relative":{"type":"string","readOnly":true,"description":"Date/Time this record was created"},"built_at_relative":{"type":"string","readOnly":true,"description":"Relative time in English the table was built for this upload"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"UserIdOnly":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"}}},"User":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"first_name":{"type":"string","description":"First name"},"last_name":{"type":"string","description":"Last name"},"display_name":{"type":"string","readOnly":true,"description":"Full name for display (available only if both first_name and last_name are set)"},"email":{"type":"string","readOnly":true,"description":"EMail address"},"is_disabled":{"type":"boolean","description":"Account has been disabled"},"avatar_url":{"type":"string","format":"uri","readOnly":true,"description":"URL for the avatar image (may be generic)"},"home_space_id":{"type":"string","description":"ID string for user's home space"},"access_filters":{"type":"array","items":{"$ref":"AccessFilter"},"readOnly":true,"description":"Model access filters."},"credentials_email":{"$ref":"CredentialsEmail","readOnly":true,"description":"Email/Password login credentials"},"credentials_totp":{"$ref":"CredentialsTotp","readOnly":true,"description":"Two-factor credentials"},"credentials_ldap":{"$ref":"CredentialsLDAP","readOnly":true,"description":"LDAP credentials"},"credentials_google":{"$ref":"CredentialsGoogle","readOnly":true,"description":"Google auth credentials"},"credentials_saml":{"$ref":"CredentialsSaml","readOnly":true,"description":"Saml auth credentials"},"credentials_api":{"$ref":"CredentialsApi","readOnly":true,"description":"API user credentials"},"credentials_api3":{"type":"array","items":{"$ref":"CredentialsApi3"},"readOnly":true,"description":"API 3 credentials"},"credentials_embed":{"type":"array","items":{"$ref":"CredentialsEmbed"},"readOnly":true,"description":"Embed credentials"},"credentials_looker_openid":{"$ref":"CredentialsLookerOpenid","readOnly":true,"description":"LookerOpenID credentials. Used for login by Looker Analysts"},"sessions":{"type":"array","items":{"$ref":"Session"},"readOnly":true,"description":"Active sessions"},"role_ids":{"type":"array","items":{"type":"integer","format":"int64"},"readOnly":true,"description":"Array of ids of the roles for this user"},"presumed_looker_employee":{"type":"boolean","readOnly":true,"description":"User is identified as an employee of Looker"},"verified_looker_employee":{"type":"boolean","readOnly":true,"description":"User is identified as an employee of Looker who has been verified via Looker corporate authentication"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}},"UserPublic":{"properties":{"id":{"type":"integer","format":"int64","readOnly":true,"description":"Unique Id"},"first_name":{"type":"string","readOnly":true,"description":"First Name"},"last_name":{"type":"string","readOnly":true,"description":"Last Name"},"avatar_url":{"type":"string","format":"uri","readOnly":true,"description":"URL for the avatar image (may be generic)"},"url":{"type":"string","format":"uri","readOnly":true,"description":"Link to get this item"}}}}}