To get information about the execution of the YQL call, check the attributes of the
query element and the sub-elements of the diagnostics
element.
The following table lists the attributes of the query element in an XML
response. In a JSON response, these attributes are mapped to the name-value pairs contained in
the query object.
| Attribute of query Element | Description |
|---|---|
count
|
The number of items (rows) in returned by the YQL statement. In an XML response, count is the number of sub-elements in the results element.
|
created
|
The date and time the response was created. |
lang
|
The locale for the response. |
updated
|
The date and time this response was last updated. |
The diagnostics element contains information about the calls the YQL
Web service made to back-end datasources. The following table lists the XML sub-elements of the
diagnostics element. In a JSON response, these sub-elements are mapped to
name-value pairs contained in the diagnostics object.
| Sub-element of diagnostics Element | Description |
|---|---|
publiclyCallable
|
True if the table is public data, false for private data. Authorization is required for private data. |
url
|
The URL of the Web service called by YQL to get the data. The value of the execution-time attribute is elapsed time, in milliseconds required to call the URL.
|
user-time
|
The time YQL takes to perform the request and return the result, including time taken to execute Javascript. This is the time that you wait for each YQL statement response. |
service-time
|
The time YQL would take if each request were sequentially performed. YQL performs most request-related actions in parallel, so this measurement is informational only. |