> ## Documentation Index
> Fetch the complete documentation index at: https://doc.rapida.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Assistant HTTP Log

Retrieves a specific assistant HTTP log entry, including webhook delivery logs, by its ID using the Rapida API.

> [!NOTE]
>
> For more authentication options, see: [https://doc.rapida.ai/api-reference/authentication](https://doc.rapida.ai/api-reference/authentication.md)

### Parameters

**connectionConfig** `ConnectionConfig` *required*

Configuration for the client connection.

**request** `GetAssistantHTTPLogRequest` *required*

**projectId** `uint64`

The project identifier for scope filtering.

**id** `uint64` *required*

The unique identifier of the HTTP log to retrieve.

### Usage

```python Python theme={null}
from rapida import (
    ConnectionConfig,
    GetAssistantHTTPLogRequest,
    get_assistant_http_log,
)
from pprint import pprint
connection_config = ConnectionConfig.default_connection_config(
    ConnectionConfig.with_sdk("{rapida-api-key}")
)
response = get_assistant_http_log(
    client_cfg=connection_config,
    request=GetAssistantHTTPLogRequest(
        id="{assistant_http_log_id}", projectId="{project_id}"
    ),
)
pprint(response)

```

```go Go theme={null}

import (
	"context"
	"fmt"
	"os"

	clients "github.com/rapidaai/rapida-go/rapida/clients"
	rapida_proto "github.com/rapidaai/rapida-go/rapida/clients/protos"
	connections "github.com/rapidaai/rapida-go/rapida/connections"
)

func main() {
	// Configure client connection using RAPIDA_PROJECT_CREDENTIAL environment variable
	connectionConfig := connections.
		DefaultconnectionConfig(connections.WithSDK(os.Getenv("RAPIDA_PROJECT_CREDENTIAL")))

	// Retrieve specific HTTP log
	response, err := clients.GetAssistantHTTPLog(context.Background(), connectionConfig, &rapida_proto.GetAssistantHTTPLogRequest{
		Id: 567898765456788765,
	})

	if err != nil {
		fmt.Printf("Error while making call using rapida: %+v\n", err)
		return
	}

	// Print the response
	fmt.Printf("Rapida calling response: %+v\n", response)
}
```

```typescript NodeJs theme={null}
import {
  ConnectionConfig,
  GetAssistantHTTPLog,
  GetAssistantHTTPLogRequest,
} from "@rapidaai/nodejs";

(async () => {
  const connectionCfg = ConnectionConfig.DefaultConnectionConfig(
    ConnectionConfig.WithSDK({
      ApiKey: process.env.RAPIDA_PROJECT_CREDENTIAL,
    })
  );
  getAssistantHTTPLog(connectionCfg, 45678903456789);
})();


async function getAssistantHTTPLog(connectionCfg, httpLogId) {
  const request = new GetAssistantHTTPLogRequest();
  request.setId(httpLogId);

  try {
    const response = await GetAssistantHTTPLog(connectionCfg, request);
    console.log("Assistant HTTP Log Response:", response.toObject());
  } catch (error) {
    console.error("Error with GetAssistantHTTPLog call:", error);
  }
}

```

### Response

**code** `int32`

Numeric status code for the operation.

**success** `boolean`

Indicates whether the operation was successful.

**data** `AssistantHTTPLog`

The assistant HTTP log entry details.

**id** `uint64`

Unique identifier for the HTTP log.

**sourceRefId** `uint64`

Source record identifier. For webhook deliveries, this is the webhook ID.

**request** `object`

The request payload sent to the webhook.

**response** `object`

The response received from the webhook.

**status** `string`

Status of the webhook execution.

**createdDate** `timestamp`

Timestamp when the log entry was created.

**updatedDate** `timestamp`

Timestamp when the log entry was last updated.

**assistantId** `uint64`

Identifier of the associated assistant.

**projectId** `uint64`

Identifier of the associated project.

**organizationId** `uint64`

Identifier of the associated organization.

**assistantConversationId** `uint64`

Identifier of the associated conversation.

**assetPrefix** `string`

Asset prefix used for the webhook.

**sourceEvent** `string`

Event type that triggered the HTTP request, such as a call, WebRTC, or conversation webhook event.

**responseStatus** `uint64`

HTTP response status code from the webhook.

**timeTaken** `uint64`

Time taken for the webhook execution in milliseconds.

**retryCount** `uint32`

Number of retry attempts made.

**httpMethod** `string`

HTTP method used for the webhook request.

**httpUrl** `string`

URL that was called for the webhook.

**source** `string`

Source category for the HTTP log.

**contextId** `string`

Context identifier associated with the source event, when available.

**errorMessage** `string`

Delivery error message, when the HTTP request fails.

**error** `object`

Error information, if applicable.

**errorCode** `uint64`

Numeric error code.

**errorMessage** `string`

Detailed error message.

**humanMessage** `string`

Human-readable error message.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.