--- title: "API_GetSchema" slug: "api-getschema" updated: 2025-08-22T14:57:44Z published: 2025-08-22T14:57:44Z canonical: "help.quickbase.com/api-getschema" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.quickbase.com/llms.txt > Use this file to discover all available pages before exploring further. # API_GetSchema **Don't forget to check out our** [**JSON RESTful APIs**](https://developer.quickbase.com/)**, they can help you utilize and extend Quickbase with ease.** ## Overview Use API_GetSchema to get information about the specified application or application table. When invoked on an application dbid, this call returns DBVars created for the application and all child table dbids. When invoked on a table dbid, the call returns DBVars and additional table-related information such as reports, field IDs (fid), key field ID (key_fid), individual record names, base type, and the current property settings for each field. In addition, this call returns the default List All and List Changes reports. This call also returns any custom reports that you have created in the UI and saved as a common report. You can then use the query ID or query name in the various API calls that use queries, instead of manually constructing the query string yourself. See API_SetFieldProperties and API_DoQuery for more information on field property values. Here’s a sample of what one of these saved queries looks like in the response: ```xml   Complete Refuel   table   fuel quantity greater than 10 gallons   ({'7'.AF.'03-24-2008'}AND{'6'.EX.'10'})   8.6   nos.   0.0 ``` This call can be used to create tooltips for your application based on the field help in your Quickbase application. You can use API_GetSchema to get the field help and then load it into tooltips. API_GetSchema lists summary field metadata. For example, Total Actual Hours is a summary field defined in a project table representing the actual number of hours team members have logged against tasks on time cards. It is based on the following field definitions: - It uses a relationship based on a reference field “related project” (fid: 48), and the API returns it as summaryReferenceFid - The field that it is summarizing is Actual Hours (fid: 133), and the API returns it as summaryTargetFid - The summary function is Total, and the API returns it as is The sample code displays as follows: ```xml   48   133   Total ``` ## Request parameters | Parameter | Value | Required? | | --- | --- | --- | | ticket | A valid authentication ticket. The authentication ticket is returned via the API_Authenticate call. | yes, one of: - ticket - username/password - user token | | usertoken | The user token is an alternative means of authentication, used for API access. User tokens cannot be used to access the Quickbase UI. | yes, one of: - ticket - username/password - user token | | apptoken | A valid application token. | yes, if the application requires application tokens | | udata | A string value that you want returned. It will not be handled by Quickbase but it will be returned in the response. | no | ## Response values | Element Name | Value | | --- | --- | | action | The originating request, for example, API_GetSchema. | | date_format | The date configuration for the app or the table. Date formats supported are: - MM-DD-YYYY - MM-DD-YY - DD-MM-YYYY - DD-MM-YY - YYYY-MM-DD Note that each element of the date format is separated by a dash (-), and dates are saved in this format. | | errcode | Identifies the error code, if any. (See the [Error Codes appendix](/v1/docs/error-codes) for a list of possible error codes.) 0 indicates that no error was encountered. | | errtext | Text that explains the error code. "No error" indicates that no error was encountered. | | time_zone | A string value that defines the application's time zone. | | udata | Optional. Contains any udata value supplied in the request. | | table | Contains all of the application or table metadata, depending on the dbid supplied in the request. | ## Sample XML Request ```xml POST https://target_domain/db/target_dbid HTTP/1.0 Content-Type: application/xml Content-Length: QUICKBASE-ACTION: API_GetSchema   mydata   auth_ticket   app_token ``` ## URL alternative ```plaintext https://target_domain/db/target_dbid?a=API_GetSchema&ticket=auth_ticket &apptoken=app_token&udata=mydata ``` where *target_domain* is the domain against which you are invoking this call, for example, *quickbase.com*. [Read about this notation](/v1/docs/understanding-the-api-call-reference). ## Sample Application-level Response ```xml     API_GetSchema     0     No error     (UTC-08:00) Pacific Time (US & Canada)      YYYY-MM-DD      mydata                API created Sample          This is a sample application.                          bdb5rjd6h                bdb5rjd6h                1204586581894                1206394201119                1                7                5                6                1                                   14               14               12               14                                  bdb5rjd6g              bddrydqhg                        
``` ## Sample Table-level Response ```xml API_GetSchema 0 No error (UTC-08:00) Pacific Time (US & Canada) YYYY-MM-DD mydata   API created Sample   This is a sample contact manager table.       bdb5rjd6g     bdb5rjd6g     1204586581894     1206394201119     22     24     5     6     1         14     14     12     14             List All      table      0.0              List Changes      table      Sorted by Date Modified      2      so-D.onlynew.      0.0                     Supply additional data about the problem.      0      .      .      .      
```